summaryrefslogtreecommitdiff
path: root/libavcodec/arm
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-07-20 22:30:24 +0000
committerMåns Rullgård <mans@mansr.com>2009-07-20 22:30:24 +0000
commitce742de22cd939c419b22535242350134e685a28 (patch)
tree6626aba5c72230a0ad486395b630179bc1ce089a /libavcodec/arm
parent5cf20d07ad897740ab834e60e137abe551aedece (diff)
ARM: check for VFP register arguments
Originally committed as revision 19474 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/arm')
-rw-r--r--libavcodec/arm/asm.S9
1 files changed, 9 insertions, 0 deletions
diff --git a/libavcodec/arm/asm.S b/libavcodec/arm/asm.S
index 69d83488ad..087b279651 100644
--- a/libavcodec/arm/asm.S
+++ b/libavcodec/arm/asm.S
@@ -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