comparison ppc/gcc_fixes.h @ 1334:80c46c310a91 libavcodec

PPC970 patch + cpu-specific tuning support by (Romain Dolbeau <dolbeau at irisa dot fr>)
author michaelni
date Sun, 29 Jun 2003 00:39:57 +0000
parents f3152eb76f1a
children 09b8fe0f0139
comparison
equal deleted inserted replaced
1333:a1cc1810d58f 1334:80c46c310a91
11 #include <altivec.h> 11 #include <altivec.h>
12 #endif 12 #endif
13 13
14 #ifdef CONFIG_DARWIN 14 #ifdef CONFIG_DARWIN
15 #define AVV(x...) (x) 15 #define AVV(x...) (x)
16 /* The Apple assembler shipped w/ gcc-3.3 knows about DCBZL, previous assemblers don't
17 We assume here that the Darwin GCC is from Apple.... */
18 #if (__GNUC__ * 100 + __GNUC_MINOR__ < 303)
19 #define NO_DCBZL
20 #endif
16 #else 21 #else
17 #define AVV(x...) {x} 22 #define AVV(x...) {x}
18 23 /* I don't think any non-Apple assembler knows about DCBZL */
24 #define NO_DCBZL
19 #if (__GNUC__ * 100 + __GNUC_MINOR__ < 303) 25 #if (__GNUC__ * 100 + __GNUC_MINOR__ < 303)
20 26
21 /* This code was provided to me by Bartosch Pixa 27 /* This code was provided to me by Bartosch Pixa
22 * as a separate header file (broken_mergel.h). 28 * as a separate header file (broken_mergel.h).
23 * thanks to lu_zero for the workaround. 29 * thanks to lu_zero for the workaround.