Fast scalar fsqrt tuning in x86

“x86-64” is supposed to refer to the first generation of 64-bit CPUs from both Intel and AMD. And -march=“x86-64” or -mtune=“x86-64” should tune for that. At least I believe that’s what gcc does.

For 32-bit mode you get “pentium4” by default on linux with clang. This meant we couldn’t evolve the 32-bit default tuning over time. This is why I added tune-cpu=“generic” as the default in clang. What does your Fortran compile do for 32-bit mode?

Given what “x86-64” is supposed to mean, I don’t know if it makes sense to change the feature flags for it. Maybe we should change the default tuning to “generic” at X86TargetMachine::getSubtargetImpl if the “tune-cpu” isn’t present. We’d probably want to add a -mtune option to llc if we did that.