diff options
-rw-r--r-- | hash/xxhash.cpp | 1 | ||||
-rw-r--r-- | userconfig-sthalik@Windows-GNU.cmake | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/hash/xxhash.cpp b/hash/xxhash.cpp index c720465e..c5ece41b 100644 --- a/hash/xxhash.cpp +++ b/hash/xxhash.cpp @@ -19,7 +19,6 @@ CORRADE_ALWAYS_INLINE size_t do_xxhash(const void* __restrict buf, size_t size) { #ifdef __AVX2__ return XXH3_64bits(buf, size); -#error "foo avx" #elif __SSE2__ return (size_t)XXH3_64bits(buf, size); #else diff --git a/userconfig-sthalik@Windows-GNU.cmake b/userconfig-sthalik@Windows-GNU.cmake index 10f07d63..214ec5fd 100644 --- a/userconfig-sthalik@Windows-GNU.cmake +++ b/userconfig-sthalik@Windows-GNU.cmake @@ -1,6 +1,6 @@ sets(STRING CMAKE_C_FLAGS "" - CMAKE_C_FLAGS_DEBUG "-O0 -g -ggdb -fstack-protector-all -fstack-reuse=none" + CMAKE_C_FLAGS_DEBUG "-O0 -g -ggdb -fstack-protector-all -fstack-reuse=none -mavx2" CMAKE_C_FLAGS_RELEASE "-O3 -ffast-math -ftree-vectorize -funsafe-loop-optimizations -march=haswell -mtune=native -mavx2 -flto -fipa-pta -fmerge-all-constants -static" ) |