diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2015-06-02 11:02:14 +0800 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2015-06-02 11:02:14 +0800 |
commit | e30a03d356dfe6676108b25101af26ed231c064e (patch) | |
tree | 7011609ec7ac44ba5f77b5667cee02ead5a7b560 | |
parent | d02c294fb5655605c161e69450d61beb31d7fb57 (diff) | |
download | clang-release_36.tar.gz |
Add NEON support to x86_64release_36
Change-Id: I7961ee68c04eb1d4442795ecd32329dc03f05ed0
-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 be833c8e47..81ce296406 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"; } |