summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Angermann <moritz.angermann@gmail.com>2017-12-10 07:36:20 +0800
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-06-07 10:26:04 -0400
commite87b9f8731460a7d8c0b45507be2d83935683d56 (patch)
treefea2eed6522400bf326b70dd071dc80f3aa73821
parentbe63d2996308c77f8a0a44592074c98f66a80e93 (diff)
downloadhaskell-e87b9f8731460a7d8c0b45507be2d83935683d56.tar.gz
llvm-targets: Add x86_64 android layout
-rw-r--r--llvm-targets1
-rwxr-xr-xutils/llvm-targets/gen-data-layout.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/llvm-targets b/llvm-targets
index a73eb84ac7..2e8d227dae 100644
--- a/llvm-targets
+++ b/llvm-targets
@@ -13,6 +13,7 @@
,("i386-unknown-linux", ("e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128", "pentium4", ""))
,("x86_64-unknown-linux-gnu", ("e-m:e-i64:64-f80:128-n8:16:32:64-S128", "x86-64", ""))
,("x86_64-unknown-linux", ("e-m:e-i64:64-f80:128-n8:16:32:64-S128", "x86-64", ""))
+,("x86_64-unknown-linux-android", ("e-m:e-i64:64-f80:128-n8:16:32:64-S128", "x86-64", "+sse4.2 +popcnt"))
,("armv7-unknown-linux-androideabi", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "generic", ""))
,("aarch64-unknown-linux-android", ("e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128", "generic", "+neon"))
,("powerpc64le-unknown-linux", ("e-m:e-i64:64-n32:64", "ppc64le", ""))
diff --git a/utils/llvm-targets/gen-data-layout.sh b/utils/llvm-targets/gen-data-layout.sh
index 7060b10b78..5ff9384f49 100755
--- a/utils/llvm-targets/gen-data-layout.sh
+++ b/utils/llvm-targets/gen-data-layout.sh
@@ -28,7 +28,7 @@ TARGETS=(
# Linux x86
"i386-unknown-linux-gnu" "i386-unknown-linux" "x86_64-unknown-linux-gnu" "x86_64-unknown-linux"
# Linux Android
- "armv7-unknown-linux-androideabi" "aarch64-unknown-linux-android"
+ "x86_64-unknown-linux-android" "armv7-unknown-linux-androideabi" "aarch64-unknown-linux-android"
# Linux ppc64le
"powerpc64le-unknown-linux"