aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-11 19:53:37 -0500
committerJack Lloyd <[email protected]>2017-12-11 20:10:54 -0500
commitf2a663bbb74b18026aee07fe58e5ae29fc10d97c (patch)
tree4264fa333c8299cdfa00fd9f20c9cb178779ed1d /src/build-data
parent3a527421fef669690b610286f35aec0d8498939d (diff)
Rename the SSE4 ISA extensions
Simplifies macro generation
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 20401e034..b523d9ce4 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
+sse4_1
+sse4_2
ssse3
</isa_extensions>
diff --git a/src/build-data/arch/x86_64.txt b/src/build-data/arch/x86_64.txt
index 49f8a6a55..9e3e74b9b 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
+sse4_1
+sse4_2
ssse3
</isa_extensions>
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt
index 44dd654f3..6fc3db6a1 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"
+sse4_1 -> "-msse4.1"
+sse4_2 -> "-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 64c52f076..b89432ea5 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"
+sse4_1 -> "-msse4.1"
+sse4_2 -> "-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 6df218a4f..2d6cb1a57 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 -> ""
+sse4_1 -> ""
+sse4_2 -> ""
x86_64:avx2 -> ""
bmi2 -> ""
aesni -> ""
diff --git a/src/build-data/cc/sunstudio.txt b/src/build-data/cc/sunstudio.txt
index 38f9d828c..4b15a8d63 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"
+sse4_1 -> "-xarch=sse4.1"
+sse4_2 -> "-xarch=sse4.2"
aesni -> "-xarch=aes"
avx -> "-xarch=avx"
rdrand -> "-xarch=avx_i"