changeset 8655:14ccee231565 libavcodec

Add a check for ppc4xx instructions; rename preprocessor directive accordingly.
author diego
date Sat, 24 Jan 2009 17:44:46 +0000
parents 13b6cdf7895e
children 6565469fb8d1
files ppc/mathops.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ppc/mathops.h	Sat Jan 24 17:32:06 2009 +0000
+++ b/ppc/mathops.h	Sat Jan 24 17:44:46 2009 +0000
@@ -23,7 +23,7 @@
 #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));