feat(BusKeyField): add reqSource id of L2 next line (nl) prefetcher#139
Merged
feat(BusKeyField): add reqSource id of L2 next line (nl) prefetcher#139
Conversation
…o feature/commitXiangShan merge lastly utility
…Shan/utility into feature/commitXiangShan pull lastly feat_add_nl
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new MemReqSource enumeration entry to represent the L2 next-line (NL) prefetcher and ensures it is recognized by the isL2Prefetch helper used for request-source classification.
Changes:
- Add
Prefetch2L2NLtoMemReqSource. - Treat
Prefetch2L2NLas an L2 prefetch inisL2Prefetch.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Maxpicca-Li
approved these changes
Mar 5, 2026
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This was referenced Mar 27, 2026
rich-cake
pushed a commit
to OpenXiangShan/XiangShan
that referenced
this pull request
Mar 30, 2026
to fix compilation error See: - OpenXiangShan/Utility#140 - OpenXiangShan/Utility#142 - https://github.com/OpenXiangShan/XiangShan/actions/runs/23642516962/job/68866471360 Also includes: - OpenXiangShan/Utility#139 - OpenXiangShan/Utility#141 Signed-off-by: ngc7331 <ngc7331@outlook.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added the nl id in MemReqSource, and added a check for nl req in def isL2Prefetch