2 ms·
The compiler would need to know what other programs are running on the core, or the computer (depending on CPU/instructions). It has no hope! This is why it i
by gameswithgo 8y ago
The compiler would need to know what other programs are running on the core, or the computer (depending on CPU/instructions). It has no hope!
This is why it is advisable for SIMD libraries or libraries that use SIMD to always offer some levers for this kind of thing.
This makes it a pain as you may have to write the same function 2 or 3 times in different SIMD instruction sets, or use a library to do that for you:
https://github.com/jackmott/simdeez https://github.com/jackmott/simdeez