3 ms·
Intel compilers have an -ax flag which will compile functions into several versions for different instructions. GCC has target_clones which can be set for parti
by mkj 7y ago
Intel compilers have an -ax flag which will compile functions into several versions for different instructions. GCC has target_clones which can be set for particular functions. Both ways will choose the function to use at runtime based on the cpu.