3 ms·
You can get gcc to generate the blend instruction in the example given - you just have to 'force' it to use SIMD more aggressively by, for example, using -march
by jcla1 2y ago
You can get gcc to generate the blend instruction in the example given - you just have to 'force' it to use SIMD more aggressively by, for example, using -march=native.
- mgaunard 2y agoThat's not forcing anything, if you're not getting blend you're just targeting an old ISA without that instruction. It's up to you to choose your target adequately based on your deployment requirements.