gcc: Enable AVX, but not for FP math

49 Views Asked by At

Does gcc have the option to enable AVX512, but only for non-FP operations? I have the problem that my application gets much slower if AVX512 is enabled, because they seem to downclock the CPU cores.

However, lots of the code still would benefit from integer AVX optimizations, so I would like to have that still enabled. Also there the penalty should be much lower compared to FP math.

0

There are 0 best solutions below