summaryrefslogtreecommitdiff
path: root/libavcodec/ppc
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-01-24 17:44:46 +0000
committerDiego Biurrun <diego@biurrun.de>2009-01-24 17:44:46 +0000
commit799fde37cca2edf7a9d9e356eb45017eb686038c (patch)
tree0fc8d6559704af6bea929dd84eae28e0e02e3910 /libavcodec/ppc
parentf5b96597bd3de4c620aa05a6624145de55045e52 (diff)
Add a check for ppc4xx instructions; rename preprocessor directive accordingly.
Originally committed as revision 16756 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ppc')
-rw-r--r--libavcodec/ppc/mathops.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ppc/mathops.h b/libavcodec/ppc/mathops.h
index 7553a50c45..8c0eab01f1 100644
--- a/libavcodec/ppc/mathops.h
+++ b/libavcodec/ppc/mathops.h
@@ -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));