Originally committed as revision 16756 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diego Biurrun authored on 2009/01/25 02:44:46... | ... |
@@ -823,6 +823,7 @@ ARCH_EXT_LIST=' |
823 | 823 |
mmx |
824 | 824 |
mmx2 |
825 | 825 |
neon |
826 |
+ ppc4xx |
|
826 | 827 |
sse |
827 | 828 |
ssse3 |
828 | 829 |
vis |
... | ... |
@@ -952,6 +953,7 @@ mmi_deps="mips" |
952 | 952 |
mmx_deps="x86" |
953 | 953 |
mmx2_deps="x86 mmx" |
954 | 954 |
neon_deps="arm" |
955 |
+ppc4xx_deps="ppc" |
|
955 | 956 |
sse_deps="mmx" |
956 | 957 |
ssse3_deps="x86 sse" |
957 | 958 |
vis_deps="sparc" |
... | ... |
@@ -1773,6 +1775,7 @@ fi |
1773 | 1773 |
# check for assembler specific support |
1774 | 1774 |
|
1775 | 1775 |
enabled ppc && check_asm dcbzl '"dcbzl 0, 1"' |
1776 |
+enabled ppc && check_asm ppc4xx '"maclhw r10, r11, r12"' |
|
1776 | 1777 |
|
1777 | 1778 |
# check for SIMD availability |
1778 | 1779 |
|
... | ... |
@@ -23,7 +23,7 @@ |
23 | 23 |
#ifndef AVCODEC_PPC_MATHOPS_H |
24 | 24 |
#define AVCODEC_PPC_MATHOPS_H |
25 | 25 |
|
26 |
-#if ARCH_PPC_405 |
|
26 |
+#if HAVE_PPC4XX |
|
27 | 27 |
/* signed 16x16 -> 32 multiply add accumulate */ |
28 | 28 |
#define MAC16(rt, ra, rb) \ |
29 | 29 |
__asm__ ("maclhw %0, %2, %3" : "=r" (rt) : "0" (rt), "r" (ra), "r" (rb)); |