Mercurial > libavcodec.hg
comparison ppc/mathops.h @ 8590:7a463923ecd1 libavcodec
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
They are now always defined to either 0 or 1.
author | aurel |
---|---|
date | Tue, 13 Jan 2009 23:44:16 +0000 |
parents | 19e2f1a50aa7 |
children | 04423b2f6e0b |
comparison
equal
deleted
inserted
replaced
8589:a29b5b5c3c9d | 8590:7a463923ecd1 |
---|---|
21 */ | 21 */ |
22 | 22 |
23 #ifndef AVCODEC_PPC_MATHOPS_H | 23 #ifndef AVCODEC_PPC_MATHOPS_H |
24 #define AVCODEC_PPC_MATHOPS_H | 24 #define AVCODEC_PPC_MATHOPS_H |
25 | 25 |
26 #if defined(ARCH_PPC_405) | 26 #if ARCH_PPC_405 |
27 /* signed 16x16 -> 32 multiply add accumulate */ | 27 /* signed 16x16 -> 32 multiply add accumulate */ |
28 #define MAC16(rt, ra, rb) \ | 28 #define MAC16(rt, ra, rb) \ |
29 __asm__ ("maclhw %0, %2, %3" : "=r" (rt) : "0" (rt), "r" (ra), "r" (rb)); | 29 __asm__ ("maclhw %0, %2, %3" : "=r" (rt) : "0" (rt), "r" (ra), "r" (rb)); |
30 | 30 |
31 /* signed 16x16 -> 32 multiply */ | 31 /* signed 16x16 -> 32 multiply */ |