xref: /minix3/external/bsd/llvm/dist/clang/test/Preprocessor/mmx.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc // RUN: %clang -march=i386 -m32 -E -dM %s -msse -o - 2>&1 \
2*f4a2713aSLionel Sambuc // RUN:     -target i386-unknown-linux \
3*f4a2713aSLionel Sambuc // RUN:   | FileCheck %s -check-prefix=SSE_AND_MMX
4*f4a2713aSLionel Sambuc // RUN: %clang -march=i386 -m32 -E -dM %s -msse -mno-mmx -o - 2>&1 \
5*f4a2713aSLionel Sambuc // RUN:     -target i386-unknown-linux \
6*f4a2713aSLionel Sambuc // RUN:   | FileCheck %s -check-prefix=SSE_NO_MMX
7*f4a2713aSLionel Sambuc // RUN: %clang -march=i386 -m32 -E -dM %s -mno-mmx -msse -o - 2>&1 \
8*f4a2713aSLionel Sambuc // RUN:     -target i386-unknown-linux \
9*f4a2713aSLionel Sambuc // RUN:   | FileCheck %s -check-prefix=SSE_NO_MMX
10*f4a2713aSLionel Sambuc 
11*f4a2713aSLionel Sambuc // SSE_AND_MMX: #define __MMX__
12*f4a2713aSLionel Sambuc // SSE_AND_MMX: #define __SSE__
13*f4a2713aSLionel Sambuc 
14*f4a2713aSLionel Sambuc // SSE_NO_MMX-NOT: __MMX__
15*f4a2713aSLionel Sambuc // SSE_NO_MMX: __SSE__
16*f4a2713aSLionel Sambuc // SSE_NO_MMX-NOT: __MMX__
17