aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-11 20:49:45 -0500
committerJack Lloyd <[email protected]>2017-12-11 20:49:45 -0500
commit4cc5e2fe991d4233f053abedf73a5dc22594330b (patch)
tree62a5d3ab4f6fa8423e9da840e43a934011bd3732 /src/build-data
parent8517b97cbeec0ca5ff2aa12ff16d04473679aee2 (diff)
Rename SSE4.x names to avoid underscores
This breaks how we determine the ISA flags for amalgamation files. The code for doing that is kind of a hack but I don't want to mess with it right now, easier to just rename the ISA internally.
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/arch/x86_32.txt4
-rw-r--r--src/build-data/arch/x86_64.txt4
-rw-r--r--src/build-data/cc/clang.txt4
-rw-r--r--src/build-data/cc/gcc.txt4
-rw-r--r--src/build-data/cc/msvc.txt4
-rw-r--r--src/build-data/cc/sunstudio.txt4
6 files changed, 12 insertions, 12 deletions
diff --git a/src/build-data/arch/x86_32.txt b/src/build-data/arch/x86_32.txt
index b523d9ce4..0aa9b6683 100644
--- a/src/build-data/arch/x86_32.txt
+++ b/src/build-data/arch/x86_32.txt
@@ -68,7 +68,7 @@ rdrand
rdseed
sha
sse2
-sse4_1
-sse4_2
+sse41
+sse42
ssse3
</isa_extensions>
diff --git a/src/build-data/arch/x86_64.txt b/src/build-data/arch/x86_64.txt
index 9e3e74b9b..1757e4f42 100644
--- a/src/build-data/arch/x86_64.txt
+++ b/src/build-data/arch/x86_64.txt
@@ -47,7 +47,7 @@ rdrand
rdseed
sha
sse2
-sse4_1
-sse4_2
+sse41
+sse42
ssse3
</isa_extensions>
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt
index 6fc3db6a1..aaef4357a 100644
--- a/src/build-data/cc/clang.txt
+++ b/src/build-data/cc/clang.txt
@@ -37,8 +37,8 @@ llvm -> "llvm-link"
<isa_flags>
sse2 -> "-msse2"
ssse3 -> "-mssse3"
-sse4_1 -> "-msse4.1"
-sse4_2 -> "-msse4.2"
+sse41 -> "-msse4.1"
+sse42 -> "-msse4.2"
avx2 -> "-mavx2"
bmi2 -> "-mbmi2"
aesni -> "-maes -mpclmul -mssse3"
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt
index b89432ea5..ce1f47ae0 100644
--- a/src/build-data/cc/gcc.txt
+++ b/src/build-data/cc/gcc.txt
@@ -47,8 +47,8 @@ default -> "$(LINKER)"
<isa_flags>
sse2 -> "-msse2"
ssse3 -> "-mssse3"
-sse4_1 -> "-msse4.1"
-sse4_2 -> "-msse4.2"
+sse41 -> "-msse4.1"
+sse42 -> "-msse4.2"
avx2 -> "-mavx2"
bmi2 -> "-mbmi2"
aesni -> "-maes -mpclmul -mssse3"
diff --git a/src/build-data/cc/msvc.txt b/src/build-data/cc/msvc.txt
index 2d6cb1a57..b816d33f8 100644
--- a/src/build-data/cc/msvc.txt
+++ b/src/build-data/cc/msvc.txt
@@ -34,8 +34,8 @@ ar_output_to "/OUT:"
<isa_flags>
sse2 -> ""
ssse3 -> ""
-sse4_1 -> ""
-sse4_2 -> ""
+sse41 -> ""
+sse42 -> ""
x86_64:avx2 -> ""
bmi2 -> ""
aesni -> ""
diff --git a/src/build-data/cc/sunstudio.txt b/src/build-data/cc/sunstudio.txt
index 4b15a8d63..e983bf701 100644
--- a/src/build-data/cc/sunstudio.txt
+++ b/src/build-data/cc/sunstudio.txt
@@ -54,8 +54,8 @@ x86_64 -> "-m64"
# https://docs.oracle.com/cd/E37069_01/html/E37074/bjapp.html#OSSCGbkazd
sse2 -> "-xarch=sse2"
ssse3 -> "-xarch=ssse3"
-sse4_1 -> "-xarch=sse4.1"
-sse4_2 -> "-xarch=sse4.2"
+sse41 -> "-xarch=sse4.1"
+sse42 -> "-xarch=sse4.2"
aesni -> "-xarch=aes"
avx -> "-xarch=avx"
rdrand -> "-xarch=avx_i"