mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-06 13:32:49 +00:00
ce005eb2c6
That allows to run the tests on all platforms successfully. llvm-svn: 156500
17 lines
615 B
C
17 lines
615 B
C
// RUN: %clang -march=i386 -m32 -E -dM %s -msse -o - 2>&1 \
|
|
// RUN: -target i386-unknown-linux \
|
|
// RUN: | FileCheck %s -check-prefix=SSE_AND_MMX
|
|
// RUN: %clang -march=i386 -m32 -E -dM %s -msse -mno-mmx -o - 2>&1 \
|
|
// RUN: -target i386-unknown-linux \
|
|
// RUN: | FileCheck %s -check-prefix=SSE_NO_MMX
|
|
// RUN: %clang -march=i386 -m32 -E -dM %s -mno-mmx -msse -o - 2>&1 \
|
|
// RUN: -target i386-unknown-linux \
|
|
// RUN: | FileCheck %s -check-prefix=SSE_NO_MMX
|
|
|
|
// SSE_AND_MMX: #define __MMX__
|
|
// SSE_AND_MMX: #define __SSE__
|
|
|
|
// SSE_NO_MMX-NOT: __MMX__
|
|
// SSE_NO_MMX: __SSE__
|
|
// SSE_NO_MMX-NOT: __MMX__
|