You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expected the codegen to be similar to x86_64 which inlines the jump to the next switch case. Instead on aarch64, it does an indirect jump first and then does the table lookup. Here is the x86_64 output for comparison:
Zig Version
0.11.0-dev.1436+59d9afcb5
Steps to Reproduce and Observed Behavior
On compiler explorer with the args
-O ReleaseFast -target aarch64-macos.12-none
Generates the following:
Expected Behavior
I expected the codegen to be similar to x86_64 which inlines the jump to the next switch case. Instead on aarch64, it does an indirect jump first and then does the table lookup. Here is the x86_64 output for comparison:
The text was updated successfully, but these errors were encountered: