Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 5.6k
Handle more than 64 registers - Part 5#103188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
4f81f69c8f9b15e150ec5f7e759ff887a6dc50b029a3bea882e2d48cbbf7da180b658c8ee0adc153449973d011bf5ceca121e3c2fb68f2d37f5a5423d02d69f1b00a6491da62b64e835File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -6867,9 +6867,9 @@ void emitter::emitDispRegmask(int imm, bool encodedPC_LR) | ||
| } | ||
| else | ||
| { | ||
| hasPC = (imm & RBM_PC) != 0; | ||
| hasLR = (imm & RBM_LR) != 0; | ||
| imm &= ~(RBM_PC | RBM_LR); | ||
| hasPC = (imm & SRBM_PC) != 0; | ||
| hasLR = (imm & SRBM_LR) != 0; | ||
| imm &= ~(SRBM_PC | SRBM_LR); | ||
Comment on lines
+6870
to
+6872
Member There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I guess this means there is (and was) an invariant on the exact indices defined for these registers? ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. probably. | ||
| } | ||
| regNumber reg = REG_R0; | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can make
IsRegNumInMaskconstexprto make this a bit more natural (feel free to do as part of a follow-up).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried doing that, but as a cascade effect I need to make
genSingleTypeRegSet,getRegForType(), etc. asconstexprwhich I am not sure is worth doing for just an assert. Will pass this on for now.