3 ms·
> without knowing exactly what processor instructions you are trying to trick the compiler into generating In fact, in this case you know exactly what processo
by kccqzy 5y ago
> without knowing exactly what processor instructions you are trying to trick the compiler into generating
In fact, in this case you know exactly what processor instructions the compiler is going to generate. You are using AVX intrinsics after all.
And no, compiler optimizations work well with these intrinsics.