Skip to content

Commit

Permalink
ARM: Disable hand-written AArch32 NEON on AArch64
Browse files Browse the repository at this point in the history
  • Loading branch information
endrift authored and ctruta committed Jul 17, 2018
1 parent ddc842b commit fb6312a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pngpriv.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,10 @@
# else /* !defined __ARM_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 /* !PNG_ARM_NEON_IMPLEMENTATION */

Expand Down

0 comments on commit fb6312a

Please sign in to comment.