[libpng16] Fix compilation errors in filter_neon_intrinsics.c

Use filter_neon_intrinsics.c in preference to filter_neon.S when possible.
This commit is contained in:
John Bowler
2013-10-15 21:19:56 -05:00
committed by Glenn Randers-Pehrson
parent 85c2ec9a69
commit 83a841ab7c
4 changed files with 119 additions and 72 deletions

View File

@@ -20,6 +20,12 @@
.section .note.GNU-stack,"",%progbits /* mark stack as non-executable */
#endif
/* Assembler NEON support - only works for 32-bit ARM (i.e. it does not work for
* ARM64). The code in arm/filter_neon_intrinsics.c supports ARM64, however it
* only works if -mfpu=neon is specified on the GCC command line.
*/
#ifndef __ARM_NEON__ /* else use arm/filter_neon_intrinsics.c */
#ifdef PNG_READ_SUPPORTED
#if PNG_ARM_NEON_OPT > 0
@@ -235,3 +241,4 @@ func png_read_filter_row_paeth3_neon, export=1
endfunc
#endif /* PNG_ARM_NEON_OPT > 0 */
#endif /* PNG_READ_SUPPORTED */
#endif /* !__ARM_NEON__ */