diff options
author | Jack Lloyd <[email protected]> | 2018-10-01 06:37:42 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-10-01 06:54:03 -0400 |
commit | 02b089dafe53345c4d3da597bcfe0fb3cc92219e (patch) | |
tree | daff658c0015194ad9b12515127fc9ffc0bc9d3d | |
parent | ecba7dc109a921528914c3f38b4ab7d5f8c61b24 (diff) |
With MSVC, use /arch:AVX for AVX2 enabled code
It seems otherwise VC generates a mix of SSE and AVX code resulting
in lots of transition penalties.
-rw-r--r-- | src/build-data/cc/msvc.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build-data/cc/msvc.txt b/src/build-data/cc/msvc.txt index d640346fe..7cebb5036 100644 --- a/src/build-data/cc/msvc.txt +++ b/src/build-data/cc/msvc.txt @@ -38,7 +38,7 @@ sse2 -> "" ssse3 -> "" sse41 -> "" sse42 -> "" -x86_64:avx2 -> "" +x86_64:avx2 -> "/arch:AVX" bmi2 -> "" aesni -> "" clmul -> "" |