2 ms·
Godbolt shows 40 asm instructions, or am I misreading it?
by teo_zero 2y ago
Godbolt shows 40 asm instructions, or am I misreading it?
- ww520 2y agoAhh ok. The above link used whatever the latest trunk of the zig compiler to generate code. Looks like the current trunk has regressed just now and produces more instructions. The link below uses the previous stable version and produces fewer instructions. https://godbolt.org/z/Ez4YGbdqn https://godbolt.org/z/Ez4YGbdqn