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
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