1
From 2062a3d147ea6123eb0aa2b010be6c662e58f291 Mon Sep 17 00:00:00 2001
2
From: mru <mru@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
3
Date: Mon, 20 Jul 2009 22:30:24 +0000
4
Subject: [PATCH] ARM: check for VFP register arguments
6
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19474 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
9
libavcodec/arm/asm.S | 9 +++++++++
10
2 files changed, 15 insertions(+), 0 deletions(-)
12
diff --git a/configure b/configure
13
index 7459215..d0c7096 100755
16
@@ -917,6 +917,7 @@ HAVE_LIST="
24
@@ -1866,6 +1867,11 @@ fi
26
# check for assembler specific support
28
+enabled arm && check_ld <<EOF && enable vfp_args
29
+__asm__ (".eabi_attribute 28, 1");
30
+int main(void) { return 0; }
33
enabled ppc && check_asm dcbzl '"dcbzl 0, 1"'
34
enabled ppc && check_asm ppc4xx '"maclhw r10, r11, r12"'
36
diff --git a/libavcodec/arm/asm.S b/libavcodec/arm/asm.S
37
index 69d8348..087b279 100644
38
--- a/libavcodec/arm/asm.S
39
+++ b/libavcodec/arm/asm.S
46
+ .eabi_attribute 28, 1