popcnt = no
endif
+#arm section
+ifeq ($(ARCH),arm-32)
+ arch = arm-32
+ os = any
+ bits = 32
+ prefetch = yes
+ bsfq = no
+ popcnt = no
+endif
+
# osx-section
ifeq ($(ARCH),osx-ppc-64)
arch = ppc64
ifeq ($(COMP),mingw)
comp=mingw
CXX=g++
- prefetch = yes
profile_prepare = gcc-profile-prepare
profile_make = gcc-profile-make
profile_use = gcc-profile-use
ifeq ($(COMP),gcc)
comp=gcc
CXX=g++
- prefetch = yes
profile_prepare = gcc-profile-prepare
profile_make = gcc-profile-make
profile_use = gcc-profile-use
ifeq ($(COMP),clang)
comp=clang
CXX=clang++
- prefetch = yes
profile_prepare = gcc-profile-prepare
profile_make = gcc-profile-make
profile_use = gcc-profile-use
CXXFLAGS += -mdynamic-no-pic
endif
endif
+
+ ifeq ($(arch),arm-32)
+ CXXFLAGS += -fno-gcse
+ endif
endif
ifeq ($(comp),mingw)
### 3.7 prefetch
ifeq ($(prefetch),yes)
- CXXFLAGS += -msse
- DEPENDFLAGS += -msse
+ ifneq ($(arch),arm-32)
+ CXXFLAGS += -msse
+ DEPENDFLAGS += -msse
+ endif
else
CXXFLAGS += -DNO_PREFETCH
endif
@echo "osx-ppc-32 > PPC-Mac OS X 32 bit"
@echo "osx-x86-64 > x86-Mac OS X 64 bit"
@echo "osx-x86-32 > x86-Mac OS X 32 bit"
+ @echo "arm-32 > ARM 32 bit"
@echo "general-64 > unspecified 64-bit"
@echo "general-32 > unspecified 32-bit"
@echo ""
@test "$(debug)" = "yes" || test "$(debug)" = "no"
@test "$(optimize)" = "yes" || test "$(optimize)" = "no"
@test "$(arch)" = "any" || test "$(arch)" = "x86_64" || test "$(arch)" = "i386" || \
- test "$(arch)" = "ppc64" || test "$(arch)" = "ppc"
+ test "$(arch)" = "ppc64" || test "$(arch)" = "ppc" || test "$(arch)" = "arm-32"
@test "$(os)" = "any" || test "$(os)" = "osx"
@test "$(bits)" = "32" || test "$(bits)" = "64"
@test "$(prefetch)" = "yes" || test "$(prefetch)" = "no"