Rafael Espindola | db0fcfb | 2013-08-20 18:57:55 +0000 | [diff] [blame] | 1 | // RUN: %clang -target i386-unknown-unknown -### -S %s -msse -msse4 -mno-sse -mno-mmx -msse 2>&1 | FileCheck %s |
Eric Christopher | f43966f | 2015-03-25 22:09:26 +0000 | [diff] [blame] | 2 | // CHECK: "pentium4" "-target-feature" "+sse4.2" "-target-feature" "-mmx" "-target-feature" "+sse" |
Rafael Espindola | 4396480 | 2013-08-21 17:34:32 +0000 | [diff] [blame] | 3 | // Note that we filter out all but the last -m(no)sse. |
Rafael Espindola | 72f55d4 | 2013-10-03 17:06:43 +0000 | [diff] [blame] | 4 | |
| 5 | // Test that we don't produce an error with -mieee-fp. |
Rafael Espindola | 6b186a6 | 2013-10-03 19:18:22 +0000 | [diff] [blame] | 6 | // RUN: %clang -### %s -mieee-fp -S 2>&1 | FileCheck --check-prefix=IEEE %s |
| 7 | // IEEE-NOT: error: unknown argument |