Mercurial > libavcodec.hg
comparison ppc/dsputil_ppc.h @ 3949:6020c2f3b16b libavcodec
fix the dcbz check and move it in configure
author | lu_zero |
---|---|
date | Sat, 07 Oct 2006 19:14:25 +0000 |
parents | c8c591fe26f8 |
children | 891590781d9e |
comparison
equal
deleted
inserted
replaced
3948:3edbf131ee44 | 3949:6020c2f3b16b |
---|---|
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
19 */ | 19 */ |
20 | 20 |
21 #ifndef _DSPUTIL_PPC_ | 21 #ifndef _DSPUTIL_PPC_ |
22 #define _DSPUTIL_PPC_ | 22 #define _DSPUTIL_PPC_ |
23 | |
24 #ifdef CONFIG_DARWIN | |
25 /* The Apple assembler shipped w/ gcc-3.3 knows about DCBZL, previous assemblers don't | |
26 We assume here that the Darwin GCC is from Apple.... */ | |
27 #if (__GNUC__ * 100 + __GNUC_MINOR__ < 303) | |
28 #define NO_DCBZL | |
29 #endif | |
30 #else /* CONFIG_DARWIN */ | |
31 /* I don't think any non-Apple assembler knows about DCBZL */ | |
32 #define NO_DCBZL | |
33 #endif /* CONFIG_DARWIN */ | |
34 | 23 |
35 #ifdef POWERPC_PERFORMANCE_REPORT | 24 #ifdef POWERPC_PERFORMANCE_REPORT |
36 void powerpc_display_perf_report(void); | 25 void powerpc_display_perf_report(void); |
37 /* the 604* have 2, the G3* have 4, the G4s have 6, | 26 /* the 604* have 2, the G3* have 4, the G4s have 6, |
38 and the G5 are completely different (they MUST use | 27 and the G5 are completely different (they MUST use |