diff options
author | Jack Lloyd <[email protected]> | 2017-12-11 19:53:37 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2017-12-11 20:10:54 -0500 |
commit | f2a663bbb74b18026aee07fe58e5ae29fc10d97c (patch) | |
tree | 4264fa333c8299cdfa00fd9f20c9cb178779ed1d | |
parent | 3a527421fef669690b610286f35aec0d8498939d (diff) |
Rename the SSE4 ISA extensions
Simplifies macro generation
-rw-r--r-- | src/build-data/arch/x86_32.txt | 4 | ||||
-rw-r--r-- | src/build-data/arch/x86_64.txt | 4 | ||||
-rw-r--r-- | src/build-data/cc/clang.txt | 4 | ||||
-rw-r--r-- | src/build-data/cc/gcc.txt | 4 | ||||
-rw-r--r-- | src/build-data/cc/msvc.txt | 4 | ||||
-rw-r--r-- | src/build-data/cc/sunstudio.txt | 4 | ||||
-rw-r--r-- | src/lib/hash/sha1/sha1_x86/info.txt | 2 | ||||
-rw-r--r-- | src/lib/hash/sha2_32/sha2_32_x86/info.txt | 2 |
8 files changed, 14 insertions, 14 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" diff --git a/src/lib/hash/sha1/sha1_x86/info.txt b/src/lib/hash/sha1/sha1_x86/info.txt index 9cddd40a2..2f48f7627 100644 --- a/src/lib/hash/sha1/sha1_x86/info.txt +++ b/src/lib/hash/sha1/sha1_x86/info.txt @@ -2,7 +2,7 @@ SHA1_X86_SHA_NI -> 20170518 </defines> -need_isa sha,ssse3,sse4.1 +need_isa sha,ssse3,sse4_1 <cc> clang:3.9 diff --git a/src/lib/hash/sha2_32/sha2_32_x86/info.txt b/src/lib/hash/sha2_32/sha2_32_x86/info.txt index bf34e73a3..f3964e441 100644 --- a/src/lib/hash/sha2_32/sha2_32_x86/info.txt +++ b/src/lib/hash/sha2_32/sha2_32_x86/info.txt @@ -2,7 +2,7 @@ SHA2_32_X86 -> 20170518 </defines> -need_isa sha,sse4.1 +need_isa sha,sse4_1 <cc> gcc:5.0 |