From 4cc5e2fe991d4233f053abedf73a5dc22594330b Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Mon, 11 Dec 2017 20:49:45 -0500 Subject: 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. --- src/build-data/cc/clang.txt | 4 ++-- src/build-data/cc/gcc.txt | 4 ++-- src/build-data/cc/msvc.txt | 4 ++-- src/build-data/cc/sunstudio.txt | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/build-data/cc') 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" 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)" 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:" 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" -- cgit v1.2.3