Don't use NEON instructions for non-NEON ARM CPUs

Since NDK r21b NEON instructions are used by default. Explicitly
disable them for non-NEON CPUs.
This commit is contained in:
Peter Osterlund
2020-09-20 15:25:57 +02:00
parent 150082a57f
commit 1e7aaf682b
4 changed files with 15 additions and 5 deletions

View File

@@ -2,12 +2,15 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := rtb
LOCAL_SRC_FILES := \
bitBoard.cpp material.cpp moveGen.cpp position.cpp rtb-probe.cpp tbprobe.cpp \
RtbProbe.cpp
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
LOCAL_ARM_NEON := false
endif
LOCAL_CFLAGS := --std=c++11 \
-I $(LOCAL_PATH)/sysport/ -I -DNDEBUG -Wall