Zig Version
0.14.0
Steps to Reproduce and Observed Behavior
https://godbolt.org/z/nrs4Eje5G
Expected Behavior
The godbolt link have 2 function elementC and elementZig they do the same thing by checking if some bits are on beased on the input ascii char. The elementC does in the c style and generates optimal assembly, while elementZig does not.
I also noticed a regression if compared with 0.13, for some odd reason 0.14 does some weird thing with the stack in both functions.
Zig Version
0.14.0
Steps to Reproduce and Observed Behavior
https://godbolt.org/z/nrs4Eje5G
Expected Behavior
The godbolt link have 2 function
elementCandelementZigthey do the same thing by checking if some bits are on beased on the input ascii char. TheelementCdoes in the c style and generates optimal assembly, whileelementZigdoes not.I also noticed a regression if compared with 0.13, for some odd reason 0.14 does some weird thing with the stack in both functions.