diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2015-06-02 11:00:50 +0800 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2015-06-02 11:00:50 +0800 |
commit | a492fd6f6fb31fae2061071380220ad7ed4bb70d (patch) | |
tree | dd511c0f29f56905c1c936156d468ca7e1c5be8b | |
parent | f7bf93b58a05c72f7294cad69cfeb8d5d5851d60 (diff) | |
download | clang-release_35.tar.gz |
Add NEON support to x86_64release_35
Change-Id: I825aaab582c3041503dd7c1aa0efc1a38b7ff55e
-rw-r--r-- | utils/TableGen/NeonEmitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/TableGen/NeonEmitter.cpp b/utils/TableGen/NeonEmitter.cpp index aabfb08b75..cde4839d6f 100644 --- a/utils/TableGen/NeonEmitter.cpp +++ b/utils/TableGen/NeonEmitter.cpp @@ -2229,7 +2229,7 @@ void NeonEmitter::run(raw_ostream &OS) { OS << "#ifndef __ARM_NEON_H\n"; OS << "#define __ARM_NEON_H\n\n"; - OS << "#if defined(__i386__)\n"; + OS << "#if defined(__i386__) || defined(__x86_64__)\n"; OS << "#include \"arm_neon_x86.h\"\n"; OS << "#else\n"; @@ -2384,7 +2384,7 @@ void NeonEmitter::run(raw_ostream &OS) { OS << "\n"; OS << "#undef __ai\n\n"; - OS << "#endif // __i386__\n\n"; + OS << "#endif // __i386__ || __x86_64__\n\n"; OS << "#endif /* __ARM_NEON_H */\n"; } |