aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-10 11:25:22 -0500
committerJack Lloyd <[email protected]>2017-12-10 11:51:38 -0500
commit5e69b9a4e4b703247189e46652a41b901de06dae (patch)
tree688ffe88f81613facbb0d4d44f4b21909290eba8 /src/build-data/cc
parent6284d7507130288fa8cc7ece096ecac56a81f8cd (diff)
Enable using NEON on Clang
Clang doesn't like the way SIMD shifts were implemented, I guess it fails to inline the constant. Make it a template parameter instead.
Diffstat (limited to 'src/build-data/cc')
-rw-r--r--src/build-data/cc/clang.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt
index ec4da317d..44dd654f3 100644
--- a/src/build-data/cc/clang.txt
+++ b/src/build-data/cc/clang.txt
@@ -46,6 +46,9 @@ rdrand -> "-mrdrnd"
rdseed -> "-mrdseed"
sha -> "-msha"
altivec -> "-maltivec"
+
+arm32:neon -> "-mfpu=neon"
+arm64:neon -> ""
</isa_flags>
<mach_opt>