aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc
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/cc
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/cc')
-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
4 files changed, 8 insertions, 8 deletions
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"