Hacker News new | ask | show | jobs
by jcla1 667 days 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.
1 comments

That'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.