XiangShan
XiangShan copied to clipboard
Backend,Frontend: pass flag of FtqPtr to TargetMem to avoid read out-of-date pred target
- Hold newest predict target everytime it updated by frontend.
- Don't use out-of-date predict value even if FtqIdx match.