-
Notifications
You must be signed in to change notification settings - Fork 5k
[RISC-V] Introduce Zbs #115335
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
base: main
Are you sure you want to change the base?
[RISC-V] Introduce Zbs #115335
Conversation
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch |
0x4506, | ||
0x4fac, | ||
{0x97, 0x35, 0xd0, 0x3b, 0xe1, 0xe7, 0xe9, 0x10} | ||
}; |
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.
nit: extra whitespace. Please run src/coreclr/tools/Common/JitInterface/ThunkGenerator/gen.sh
per the comment above, it keeps things in sync.
RISC-V Release-CLR-QEMU: 9064 / 9094 (99.67%)
report.xml, report.md, failures.xml, testclr_details.tar.zst Build information and commandsGIT: RISC-V Release-FX-QEMU: 284444 / 285527 (99.62%)
report.xml, report.md, failures.xml, testclr_details.tar.zst Build information and commandsGIT: RISC-V Release-CLR-VF2: 9063 / 9093 (99.67%)
report.xml, report.md, failures.xml, testclr_details.tar.zst Build information and commandsGIT: |
@@ -339,13 +339,16 @@ private static class RiscV64IntrinsicConstants | |||
{ | |||
public const int Zba = 0x0001; | |||
public const int Zbb = 0x0002; | |||
public const int Zbs = 0x0003; |
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.
This looks like an unlikely value? 0x0004 would check the next bit. Now you just check if one of the above values or both are set.
Single-bit instructions
WiP: more lowerings
Part of #84834, cc @dotnet/samsung