aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon Atanasyan <satanasyan@mips.com>2012-08-29 20:50:11 +0000
committerSimon Atanasyan <satanasyan@mips.com>2012-08-29 20:50:11 +0000
commit600a513a0ff19c7dbedc4292866caddeceb94f57 (patch)
tree04801ce06bf108c9a7b86dfc5432b47b6a0a11b0 /test
parent1d8ae1d7066e1e4a413c791648e3287827f3db06 (diff)
Define __mips64 / __mips64__ macros for MIPS 64-bit targets.
The patch suggested by Brad Smith. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162858 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Preprocessor/init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Preprocessor/init.c b/test/Preprocessor/init.c
index 66b91aad10..eaf08ca87d 100644
--- a/test/Preprocessor/init.c
+++ b/test/Preprocessor/init.c
@@ -791,6 +791,8 @@
// MIPS64BE:#define __clang__ 1
// MIPS64BE:#define __llvm__ 1
// MIPS64BE:#define __mips 1
+// MIPS64BE:#define __mips64 1
+// MIPS64BE:#define __mips64__ 1
// MIPS64BE:#define __mips__ 1
// MIPS64BE:#define __mips_hard_float 1
// MIPS64BE:#define __mips_n64 1
@@ -904,6 +906,8 @@
// MIPS64EL:#define __clang__ 1
// MIPS64EL:#define __llvm__ 1
// MIPS64EL:#define __mips 1
+// MIPS64EL:#define __mips64 1
+// MIPS64EL:#define __mips64__ 1
// MIPS64EL:#define __mips__ 1
// MIPS64EL:#define __mips_hard_float 1
// MIPS64EL:#define __mips_n64 1