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

git at videolan.org git at videolan.org
Wed Aug 18 13:52:36 CEST 2010


vlc/vlc-1.1 | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Tue Aug 17 19:23:13 2010 +0200| [17165ed4ded6cf85b9b79abc7431a229c78d4376] | committer: Jean-Baptiste Kempf 

qadd is an armv5e instruction, check for an ARMv6+ instruction
(cherry picked from commit 552136938058e86d947a9eda6e63f2484e12dcea)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=17165ed4ded6cf85b9b79abc7431a229c78d4376
---

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

diff --git a/configure.ac b/configure.ac
index f3f7524..4d44840 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1383,7 +1383,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