2013-08-21 02:57:55 +08:00
|
|
|
// RUN: %clang -target i386-unknown-unknown -### -S %s -msse -msse4 -mno-sse -mno-mmx -msse 2>&1 | FileCheck %s
|
2015-03-26 06:09:26 +08:00
|
|
|
// CHECK: "pentium4" "-target-feature" "+sse4.2" "-target-feature" "-mmx" "-target-feature" "+sse"
|
2013-08-22 01:34:32 +08:00
|
|
|
// Note that we filter out all but the last -m(no)sse.
|
2013-10-04 01:06:43 +08:00
|
|
|
|
|
|
|
// Test that we don't produce an error with -mieee-fp.
|
2013-10-04 03:18:22 +08:00
|
|
|
// RUN: %clang -### %s -mieee-fp -S 2>&1 | FileCheck --check-prefix=IEEE %s
|
|
|
|
// IEEE-NOT: error: unknown argument
|