Commit 6bc2a370 authored by mru's avatar mru

ARM: check for VFP register arguments

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19474 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 76b1385a
...@@ -958,6 +958,7 @@ HAVE_LIST=" ...@@ -958,6 +958,7 @@ HAVE_LIST="
termios_h termios_h
threads threads
truncf truncf
vfp_args
VirtualAlloc VirtualAlloc
winsock2_h winsock2_h
xform_asm xform_asm
...@@ -2042,6 +2043,11 @@ fi ...@@ -2042,6 +2043,11 @@ fi
# check for assembler specific support # 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 mips && check_asm loongson '"dmult.g $1, $2, $3"'
enabled ppc && check_asm dcbzl '"dcbzl 0, 1"' enabled ppc && check_asm dcbzl '"dcbzl 0, 1"'
......
...@@ -45,3 +45,12 @@ ...@@ -45,3 +45,12 @@
ldr \rd, =\val ldr \rd, =\val
#endif #endif
.endm .endm
#if HAVE_VFP_ARGS
.eabi_attribute 28, 1
# define VFP
# define NOVFP @
#else
# define VFP @
# define NOVFP
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment