vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Mon Aug 16 20:44:00 2010 +0300| [bad7a2dd0b6758da05572dba4652b599ff621571] | committer: Rémi Denis-Courmont
ARM: check ARMv6 support at the same time as NEON Our NEON optimizations don't compile on ARMv5 and lower. It is dubious that there would be any use for NEON on such processor anyway. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bad7a2dd0b6758da05572dba4652b599ff621571 --- configure.ac | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/configure.ac b/configure.ac index b6b7f91..1585ade 100644 --- a/configure.ac +++ b/configure.ac @@ -1351,7 +1351,10 @@ AS_IF([test "${enable_neon}" != "no"], [ AC_CACHE_CHECK([if $CC groks NEON inline assembly], [ac_cv_neon_inline], [ CFLAGS="${CFLAGS_save} -mfpu=neon" AC_COMPILE_IFELSE([ - AC_LANG_PROGRAM(,[[asm volatile("vqmovun.s64 d0, q1":::"d0");]]) + AC_LANG_PROGRAM(,[[ +asm volatile("vqmovun.s64 d0, q1":::"d0"); +asm volatile("qadd r0, r0, r0":::"r0"); /* assume ARMv6 */ +]]) ], [ ac_cv_neon_inline="-mfpu=neon" ], [ _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
