#Cross product optimization
1 messages · Page 1 of 1 (latest)
^^ if you're using build-exe (note that this will be what godbolt is using if you're doing this in godbolt) you want -OReleaseFast, whereas for zig build, if you're using standardOptimizeOption, you want -Doptimize=ReleaseFast
yep, this is with ReleaseFast https://godbolt.org/z/Eb4MrE3P3
vpermd doesnt seem to have an xmm equiv https://www.felixcloutier.com/x86/vpermd:vpermw