diff options
author | Jack Lloyd <[email protected]> | 2018-05-27 11:38:30 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-05-27 12:01:55 -0400 |
commit | 8df48e74987fb2ab3c97adb2b48c2cafc0ea381b (patch) | |
tree | 624df6b225783f611e893a16ffc1fe23f730fd2d /src/build-data | |
parent | f256e603ab93e2587fe0e38bcf06c437fcd41abf (diff) |
Add BMI2-specific SHA-256
Currently just a copy of the baseline compression function, but
compiled with BMI2 flags. On Skylake improves performance by about 40%.
Diffstat (limited to 'src/build-data')
-rw-r--r-- | src/build-data/cc/clang.txt | 2 | ||||
-rw-r--r-- | src/build-data/cc/gcc.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/build-data/cc/clang.txt b/src/build-data/cc/clang.txt index d8c028191..65586088b 100644 --- a/src/build-data/cc/clang.txt +++ b/src/build-data/cc/clang.txt @@ -48,7 +48,7 @@ ssse3 -> "-mssse3" sse41 -> "-msse4.1" sse42 -> "-msse4.2" avx2 -> "-mavx2" -bmi2 -> "-mbmi2" +bmi2 -> "-mbmi -mbmi2" aesni -> "-maes -mpclmul -mssse3" rdrand -> "-mrdrnd" rdseed -> "-mrdseed" diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt index 0b12e00bc..a1e45b428 100644 --- a/src/build-data/cc/gcc.txt +++ b/src/build-data/cc/gcc.txt @@ -53,7 +53,7 @@ ssse3 -> "-mssse3" sse41 -> "-msse4.1" sse42 -> "-msse4.2" avx2 -> "-mavx2" -bmi2 -> "-mbmi2" +bmi2 -> "-mbmi -mbmi2" aesni -> "-maes -mpclmul -mssse3" rdrand -> "-mrdrnd" rdseed -> "-mrdseed" |