Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DispatchQueue: wrap around tailPtr index when redirect (OpenXiangShan…
…#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.
- Loading branch information