3 ms·
that is what I meant by "the slower bitwise logic". I didn't know GCC was able to optimize that down to cmov.
by mgaunard 5y ago
that is what I meant by "the slower bitwise logic".
I didn't know GCC was able to optimize that down to cmov.
- mananaysiempre 5y agoIt’s not, it turns out, I misremembered :( Clang 13 does compile this down to a CMOV in my tests, but GCC 11.1 just translates it as is even with -mtune=native (on Haswell).