Add a check for ppc4xx instructions; rename preprocessor directive accordingly.

Originally committed as revision 16756 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Diego Biurrun 2009-01-24 17:44:46 +00:00
parent f5b96597bd
commit 799fde37cc
2 changed files with 4 additions and 1 deletions

View file

@ -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));