xref: /minix3/external/bsd/llvm/dist/clang/test/Driver/x86_features.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // RUN: %clang -target i386-unknown-unknown -### -S %s -msse -msse4 -mno-sse -mno-mmx -msse  2>&1 | FileCheck %s
2*f4a2713aSLionel Sambuc // CHECK: "pentium4" "-target-feature" "+sse4" "-target-feature" "-mmx" "-target-feature" "+sse"
3*f4a2713aSLionel Sambuc // Note that we filter out all but the last -m(no)sse.
4*f4a2713aSLionel Sambuc 
5*f4a2713aSLionel Sambuc // Test that we don't produce an error with -mieee-fp.
6*f4a2713aSLionel Sambuc // RUN: %clang -### %s -mieee-fp -S 2>&1 | FileCheck --check-prefix=IEEE %s
7*f4a2713aSLionel Sambuc // IEEE-NOT: error: unknown argument
8