It's not the first time LLVM misidentifies modern CPUs.
I thought that all the logic in src/gallium/auxiliary/gallivm/lp_bld_misc.cpp for setting +/-foo mattrs would save us from this sort of grief.
On the other hand, I suppose that actually knowing the exact CPU model allows it to better model instruction latency/throughput.
It's not the first time LLVM misidentifies modern CPUs.
I thought that all the logic in src/gallium/ auxiliary/ gallivm/ lp_bld_ misc.cpp for setting +/-foo mattrs would save us from this sort of grief.
On the other hand, I suppose that actually knowing the exact CPU model allows it to better model instruction latency/throughput.