summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-06-09 06:04:11 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-06-09 06:04:11 +0200
commit5f1fc9cdc4a797d46246e800400bfe924d197049 (patch)
tree7a98876db31f07213892f30e448fc0928337ed16
parent7c2a89f94c744ef469527bd157e5bd8ed9a906f7 (diff)
cmake: enable avx2 on amd64
-rw-r--r--userconfig-sthalik@Windows-GNU.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/userconfig-sthalik@Windows-GNU.cmake b/userconfig-sthalik@Windows-GNU.cmake
index 38080ffd..10f07d63 100644
--- a/userconfig-sthalik@Windows-GNU.cmake
+++ b/userconfig-sthalik@Windows-GNU.cmake
@@ -1,7 +1,7 @@
sets(STRING
CMAKE_C_FLAGS ""
CMAKE_C_FLAGS_DEBUG "-O0 -g -ggdb -fstack-protector-all -fstack-reuse=none"
- CMAKE_C_FLAGS_RELEASE "-O3 -ffast-math -ftree-vectorize -funsafe-loop-optimizations -march=core2 -mtune=native -mavx -flto -fipa-pta -fmerge-all-constants -static"
+ CMAKE_C_FLAGS_RELEASE "-O3 -ffast-math -ftree-vectorize -funsafe-loop-optimizations -march=haswell -mtune=native -mavx2 -flto -fipa-pta -fmerge-all-constants -static"
)
sets(STRING