summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorMika Lindqvist <postmaster@raasu.org>2018-03-13 11:26:19 +0200
committerHans Kristian Rosbach <hk-github@circlestorm.org>2018-10-30 12:36:32 +0100
commite7e80f4cd22346a2ea3cadad57ed574078aa5576 (patch)
tree9b4c67eace11668d1ff3d2903219c835c1eda075 /win32
parentbf1da691b2e18928e51b6d95214ffcf6735e10bb (diff)
[ARM/AArch64] Add run-time detection of ACLE and NEON instructions under Linux.
* Use getauxval() to check support for ACLE CRC32 instructions * Allow disabling CRC32 instruction check
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile.arm4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/Makefile.arm b/win32/Makefile.arm
index 2ffb725..656e4cf 100644
--- a/win32/Makefile.arm
+++ b/win32/Makefile.arm
@@ -37,7 +37,7 @@ WITH_VFPV3 =
NEON_ARCH = /arch:VFPv4
SUFFIX =
-OBJS = adler32.obj compress.obj crc32.obj deflate.obj deflate_fast.obj deflate_slow.obj \
+OBJS = adler32.obj armfeature.obj compress.obj crc32.obj deflate.obj deflate_fast.obj deflate_slow.obj \
functable.obj infback.obj inflate.obj inftrees.obj inffast.obj match.obj trees.obj uncompr.obj zutil.obj fill_window_arm.obj
!if "$(WITH_GZFILEOP)" != ""
WFLAGS = $(WFLAGS) -DWITH_GZFILEOP
@@ -61,7 +61,7 @@ NEON_ARCH = /arch:VFPv3
!endif
!if "$(WITH_NEON)" != ""
CFLAGS = $(CFLAGS) $(NEON_ARCH)
-WFLAGS = $(WFLAGS) -D__ARM_NEON__=1
+WFLAGS = $(WFLAGS) -D__ARM_NEON__=1 -DARM_NEON_ADLER32 -DARM_NOCHECK_NEON
OBJS = $(OBJS) adler32_neon.obj
!endif