[FFmpeg-cvslog] r19474 - in trunk: configure libavcodec/arm/asm.S
mru
subversion
Tue Jul 21 00:30:25 CEST 2009
Author: mru
Date: Tue Jul 21 00:30:24 2009
New Revision: 19474
Log:
ARM: check for VFP register arguments
Modified:
trunk/configure
trunk/libavcodec/arm/asm.S
Modified: trunk/configure
==============================================================================
--- trunk/configure Mon Jul 20 23:52:03 2009 (r19473)
+++ trunk/configure Tue Jul 21 00:30:24 2009 (r19474)
@@ -958,6 +958,7 @@ HAVE_LIST="
termios_h
threads
truncf
+ vfp_args
VirtualAlloc
winsock2_h
xform_asm
@@ -2042,6 +2043,11 @@ fi
# check for assembler specific support
+enabled arm && check_ld <<EOF && enable vfp_args
+__asm__ (".eabi_attribute 28, 1");
+int main(void) { return 0; }
+EOF
+
enabled mips && check_asm loongson '"dmult.g $1, $2, $3"'
enabled ppc && check_asm dcbzl '"dcbzl 0, 1"'
Modified: trunk/libavcodec/arm/asm.S
==============================================================================
--- trunk/libavcodec/arm/asm.S Mon Jul 20 23:52:03 2009 (r19473)
+++ trunk/libavcodec/arm/asm.S Tue Jul 21 00:30:24 2009 (r19474)
@@ -45,3 +45,12 @@
ldr \rd, =\val
#endif
.endm
+
+#if HAVE_VFP_ARGS
+ .eabi_attribute 28, 1
+# define VFP
+# define NOVFP @
+#else
+# define VFP @
+# define NOVFP
+#endif
More information about the ffmpeg-cvslog
mailing list