Mercurial > libavcodec.hg
diff ppc/mathops.h @ 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 | 04423b2f6e0b |
children | 31bdc2da2e80 |
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));