ARM: Disable hand-written AArch32 NEON on AArch64

This commit is contained in:
Vicki Pfau 2018-07-17 01:23:56 +00:00 committed by Cosmin Truta
parent ddc842bf06
commit fb6312a9f9

View File

@ -174,7 +174,10 @@
# else /* !defined __ARM_NEON__ */ # else /* !defined __ARM_NEON__ */
/* The 'intrinsics' code simply won't compile without this -mfpu=neon: /* The 'intrinsics' code simply won't compile without this -mfpu=neon:
*/ */
# define PNG_ARM_NEON_IMPLEMENTATION 2 # if !defined(__aarch64__)
/* The assembler code currently does not work on ARM64 */
# define PNG_ARM_NEON_IMPLEMENTATION 2
# endif /* __aarch64__ */
# endif /* __ARM_NEON__ */ # endif /* __ARM_NEON__ */
# endif /* !PNG_ARM_NEON_IMPLEMENTATION */ # endif /* !PNG_ARM_NEON_IMPLEMENTATION */