-
Notifications
You must be signed in to change notification settings - Fork 5.1k
[APX] Make sure disasmembler log correct EGPR size when OSIZE is 32b. #116988
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
Conversation
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch |
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.
Pull Request Overview
This PR addresses an issue with the disasmembler where the incorrect size suffix was logged when OSIZE is 32b by updating the register bounds check.
- Changed the register upper bound check from REG_R15 to REG_R31
- Adjusted the condition to ensure proper handling of 32b cases
Comments suppressed due to low confidence (1)
src/coreclr/jit/emitxarch.cpp:11798
- Ensure REG_R31 is defined and valid on all target platforms where this code executes; this update is essential for logging the correct EGPR size when OSIZE is 32b.
if (reg > REG_R31)
@dotnet/intel for review, thanks! |
The disasmembler was not printing the size suffix when OSIZE is 32b, this PR fixes the issue.