================
@@ -153,9 +153,13 @@ bool X86TargetInfo::initFeatureMap(
llvm::StringMap<bool> &Features, DiagnosticsEngine &Diags, StringRef CPU,
const std::vector<std::string> &FeaturesVec) const {
// FIXME: This *really* should not be here.
- // X86_64 always has SSE2.
- if (getTriple().getArch() == llvm::Triple::x86_64)
+ // X86_64 always has SSE2 and SSE4.1 to support common SIMD intrinsics.
----------------
pinskia wrote:
x86_64 Linux didn't always have sse4.1.
https://github.com/llvm/llvm-project/pull/172116
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits