mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
use arch set in cflags-x86.cmake
This commit is contained in:
parent
9e4789d374
commit
b106c10b4d
@ -69,7 +69,7 @@ if (USE_CPU_NATIVE)
|
||||
else()
|
||||
if (SIMDE_BACKEND)
|
||||
if (ARCH_IA32 OR ARCH_X86_64)
|
||||
set(GNUCC_ARCH x86-64-v2)
|
||||
set(GNUCC_ARCH ${X86_ARCH})
|
||||
set(TUNE_FLAG generic)
|
||||
elseif(ARCH_AARCH64)
|
||||
set(GNUCC_ARCH armv8-a)
|
||||
@ -85,7 +85,7 @@ else()
|
||||
set(TUNE_FLAG generic)
|
||||
endif()
|
||||
elseif (ARCH_IA32 OR ARCH_X86_64)
|
||||
set(GNUCC_ARCH x86-64-v2)
|
||||
set(GNUCC_ARCH ${X86_ARCH})
|
||||
set(TUNE_FLAG generic)
|
||||
elseif(ARCH_AARCH64)
|
||||
if (BUILD_SVE2_BITPERM)
|
||||
|
Loading…
x
Reference in New Issue
Block a user