From 4dcce2cc7e2ed76441dcc36f25dc741865feb092 Mon Sep 17 00:00:00 2001 From: Kris Kwiatkowski Date: Sun, 18 Apr 2021 23:57:41 +0100 Subject: [PATCH] use haswell as default arch --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f6961a8c..14d0c09f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -156,7 +156,7 @@ add_subdirectory(src/kem/sike) if(${ARCH} STREQUAL "ARCH_x86_64") set(CMAKE_C_FLAGS - "${CMAKE_C_FLAGS} -march=native -mtune=native") + "${CMAKE_C_FLAGS} -march=haswell") set(SRC_COMMON_AVX2 src/common/keccak4x/KeccakP-1600-times4-SIMD256.c )