summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-07-01 23:21:27 +0000
committerMåns Rullgård <mans@mansr.com>2010-07-01 23:21:27 +0000
commit2f0c136e1f584a0d6c7826376ce4809a39ec81c9 (patch)
tree97bb19d15dd88f05413b8f9be724c62ee9602ca7 /configure
parentea59f489b0c13df34b3b27063d539daa8655755e (diff)
Check whether IBM or Apple PPC assembler syntax is used
This checks which assembler syntax is supported and defines macros for register names accordingly. Originally committed as revision 23952 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 400d835c38..c9fb27886e 100755
--- a/configure
+++ b/configure
@@ -989,6 +989,7 @@ HAVE_LIST="
GetProcessTimes
getrusage
struct_rusage_ru_maxrss
+ ibm_asm
inet_aton
inline_asm
isatty
@@ -2340,6 +2341,7 @@ elif enabled ppc; then
enable local_aligned_8 local_aligned_16
check_asm dcbzl '"dcbzl 0, 1"'
+ check_asm ibm_asm '"add 0, 0, 0"'
check_asm ppc4xx '"maclhw r10, r11, r12"'
check_asm xform_asm '"lwzx %1, %y0" :: "Z"(*(int*)0), "r"(0)'