Skip to content

Commit d1108e9

Browse files
committed
[X86] Add 'FeatureSSE4_1'/'FeatureSSE4_2' by default.
1 parent 4b563a6 commit d1108e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/TargetParser/X86TargetParser.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,8 @@ void llvm::X86::getFeaturesForCPU(StringRef CPU,
705705
#ifdef _WIN32
706706
// Matches Microsoft's default support.
707707
Bits |= FeatureSSE3;
708+
Bits |= FeatureSSE4_1;
709+
Bits |= FeatureSSE4_2;
708710
Bits |= FeatureINVPCID;
709711
Bits |= FeatureRTM;
710712
#endif

0 commit comments

Comments
 (0)