Originally committed as revision 16756 to svn://svn.ffmpeg.org/ffmpeg/trunk
mmx
mmx2
neon
+ ppc4xx
sse
ssse3
vis
mmx_deps="x86"
mmx2_deps="x86 mmx"
neon_deps="arm"
+ppc4xx_deps="ppc"
sse_deps="mmx"
ssse3_deps="x86 sse"
vis_deps="sparc"
# check for assembler specific support
enabled ppc && check_asm dcbzl '"dcbzl 0, 1"'
+enabled ppc && check_asm ppc4xx '"maclhw r10, r11, r12"'
# check for SIMD availability
#ifndef AVCODEC_PPC_MATHOPS_H
#define AVCODEC_PPC_MATHOPS_H
-#if ARCH_PPC_405
+#if HAVE_PPC4XX
/* signed 16x16 -> 32 multiply add accumulate */
#define MAC16(rt, ra, rb) \
__asm__ ("maclhw %0, %2, %3" : "=r" (rt) : "0" (rt), "r" (ra), "r" (rb));