SIMD must always be enabled, even in debug builds
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
70745cd62d
commit
cebb66f290
4 changed files with 35 additions and 6 deletions
|
@ -1187,8 +1187,17 @@ ifeq ($(HEADLESS),true)
|
|||
BASE_FLAGS += -DHEADLESS
|
||||
endif
|
||||
|
||||
ifneq (,$(findstring true,$(DEBUG)$(NOSIMD)))
|
||||
# SIMD must always be enabled, even in debug builds
|
||||
ifeq ($(NOSIMD),true)
|
||||
BASE_FLAGS += -DCARDINAL_NOSIMD
|
||||
else ifeq ($(DEBUG),true)
|
||||
ifeq ($(WASM),true)
|
||||
BASE_FLAGS += -msse -msse2 -msse3 -msimd128
|
||||
else ifeq ($(CPU_ARM32),true)
|
||||
BASE_FLAGS += -mfpu=neon-vfpv4 -mfloat-abi=hard
|
||||
else ifeq ($(CPU_I386_OR_X86_64),true)
|
||||
BASE_FLAGS += -msse -msse2 -mfpmath=sse
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(BSD)$(WASM),true)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue