File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -246,10 +246,11 @@ bool X86TargetInfo::initFeatureMap(
246
246
case CK_Pentium3:
247
247
case CK_C3_2:
248
248
setFeatureEnabledImpl (Features, " sse" , true );
249
+ LLVM_FALLTHROUGH;
250
+ case CK_Pentium2:
249
251
setFeatureEnabledImpl (Features, " fxsr" , true );
250
252
LLVM_FALLTHROUGH;
251
253
case CK_PentiumMMX:
252
- case CK_Pentium2:
253
254
case CK_K6:
254
255
case CK_WinChipC6:
255
256
setFeatureEnabledImpl (Features, " mmx" , true );
Original file line number Diff line number Diff line change 184
184
// RUN: %clang -march=pentium2 -m32 -E -dM %s -o - 2>&1 \
185
185
// RUN: -target i386-unknown-linux \
186
186
// RUN: | FileCheck -match-full-lines %s -check-prefix=CHECK_PENTIUM2_M32
187
+ // CHECK_PENTIUM2_M32: #define __FXSR__ 1
187
188
// CHECK_PENTIUM2_M32: #define __MMX__ 1
188
189
// CHECK_PENTIUM2_M32: #define __i386 1
189
190
// CHECK_PENTIUM2_M32: #define __i386__ 1
You can’t perform that action at this time.
0 commit comments