|
|
|
|
|
by BeeOnRope
2329 days ago
|
|
Even if you do the branchiest thing possible in the source, no bitwise or "looks cmov-y" stuff, all compilers that matter will do this without a branch with optimization on: https://godbolt.org/z/XCBGYW Only icc vectorizes this at -O2 (still branchless, of course), but clang and gcc vectorize it if you go to -O3. |
|