use haswell as default arch
This commit is contained in:
parent
6b9aa0e10b
commit
4dcce2cc7e
@ -156,7 +156,7 @@ add_subdirectory(src/kem/sike)
|
|||||||
if(${ARCH} STREQUAL "ARCH_x86_64")
|
if(${ARCH} STREQUAL "ARCH_x86_64")
|
||||||
|
|
||||||
set(CMAKE_C_FLAGS
|
set(CMAKE_C_FLAGS
|
||||||
"${CMAKE_C_FLAGS} -march=native -mtune=native")
|
"${CMAKE_C_FLAGS} -march=haswell")
|
||||||
set(SRC_COMMON_AVX2
|
set(SRC_COMMON_AVX2
|
||||||
src/common/keccak4x/KeccakP-1600-times4-SIMD256.c
|
src/common/keccak4x/KeccakP-1600-times4-SIMD256.c
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user