[vlc-commits] commit: qadd is an armv5e instruction, check for an ARMv6+ instruction ( Rafaël Carré )

git at videolan.org git at videolan.org
Tue Aug 17 19:24:29 CEST 2010


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Tue Aug 17 19:23:13 2010 +0200| [552136938058e86d947a9eda6e63f2484e12dcea] | committer: Rafaël Carré 

qadd is an armv5e instruction, check for an ARMv6+ instruction

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=552136938058e86d947a9eda6e63f2484e12dcea
---

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 1585ade..341a7e4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1353,7 +1353,7 @@ AS_IF([test "${enable_neon}" != "no"], [
     AC_COMPILE_IFELSE([
       AC_LANG_PROGRAM(,[[
 asm volatile("vqmovun.s64 d0, q1":::"d0");
-asm volatile("qadd r0, r0, r0":::"r0"); /* assume ARMv6 */
+asm volatile("ssat r0, #1, r0":::"r0"); /* assume ARMv6 */
 ]])
     ], [
       ac_cv_neon_inline="-mfpu=neon"



More information about the vlc-commits mailing list