DispatchQueue: wrap around tailPtr index when redirect (#800)
This commit fixes the bug when redirect.valid and the last valid instruction is in the last slot. Previously the tailPtr becomes size.U when there're no instructions before headPtr. It works fine when DispatchQueueSize is power2.
Showing
想要评论请 注册 或 登录