-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
[RISC-V] Improve code generating resolve stub assembly #102318
Conversation
This change replaces magic numbers with proper offsetofs and use compile time asserts instead runtime ones. That should make developers life easier in case of debugging or changing resolve stubs assembly.
2edbcf6
to
d7e3074
Compare
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.
LGTM, looks better. We probably need to change all the hardcoded instructions to *TypeInstr like in riscv64/stubs.cpp some day.
Hi there! I'm risc-vv - your friendly neighborhood testing bot. I have some results for you: Results for qemu-prio0-checkedTest report
failed tests
killed tests
skipped tests
|
RISC-V test results for qemu-prio0-checked: 2718 / 2738 (99.27%)detailsGIT: 84c1cb9
failed tests
killed tests
skipped tests
|
RISC-V test results for starfive-prio0-checked: 2720 / 2738 (99.34%)detailsGIT: 84c1cb9
failed tests
killed tests
skipped tests
|
RISC-V test results for qemu-prio1-checked: 9396 / 9443 (99.50%)detailsGIT: 84c1cb9
failed tests
killed tests
skipped tests
|
RISC-V test results for starfive-prio1-checked: 9399 / 9443 (99.53%)detailsGIT: 84c1cb9
failed tests
killed tests
skipped tests
|
@jkotas Could you take a look at this PR? Thank you. |
* [RISC-V] Improve code generating resolve stub assembly This change replaces magic numbers with proper offsetofs and use compile time asserts instead runtime ones. That should make developers life easier in case of debugging or changing resolve stubs assembly. * Move annotation and don't check same thing many times
This change replaces magic numbers with proper offsetofs and use compile time asserts instead runtime ones. That should make developers life easier in case of debugging or changing resolve stubs assembly.
Part of #84834, cc @dotnet/samsung