comparison configure @ 15380:13caaffcd412

dcbzl instruction is only for 64-bit implementations. define NO_DCBZL for ffmpeg. patch by Steven M. Schultz <sms@2BSD.COM>
author nplourde
date Mon, 09 May 2005 17:02:10 +0000
parents 9ba8e4851216
children 5d93778c5071
comparison
equal deleted inserted replaced
15379:fb2f357e52ea 15380:13caaffcd412
998 _optimizing='' 998 _optimizing=''
999 ;; 999 ;;
1000 1000
1001 ppc) 1001 ppc)
1002 _def_arch='#define ARCH_POWERPC 1' 1002 _def_arch='#define ARCH_POWERPC 1'
1003 _def_dcbzl='#define NO_DCBZL 1'
1003 _target_arch='TARGET_ARCH_POWERPC = yes' 1004 _target_arch='TARGET_ARCH_POWERPC = yes'
1004 iproc='ppc' 1005 iproc='ppc'
1005 proc='' 1006 proc=''
1006 _march='' 1007 _march=''
1007 _mcpu='' 1008 _mcpu=''
1062 esac 1063 esac
1063 fi 1064 fi
1064 # gcc 3.2 and up supports 970 1065 # gcc 3.2 and up supports 970
1065 if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "3"; then 1066 if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "3"; then
1066 case "$proc" in 1067 case "$proc" in
1067 970*) _march='-mcpu=970' _mcpu='-mtune=970' ;; 1068 970*) _march='-mcpu=970' _mcpu='-mtune=970'
1069 _def_dcbzl='#undef NO_DCBZL' ;;
1068 *) ;; 1070 *) ;;
1069 esac 1071 esac
1070 fi 1072 fi
1071 fi 1073 fi
1072 1074
7335 byte first (like Motorola and SPARC, unlike Intel and VAX). */ 7337 byte first (like Motorola and SPARC, unlike Intel and VAX). */
7336 $_def_words_endian 7338 $_def_words_endian
7337 7339
7338 $_def_arch 7340 $_def_arch
7339 7341
7342 /* For the PPC. G5 has the dcbzl when in 64bit mode but G4s and earlier do not
7343 have the instruction. */
7344 $_def_dcbzl
7345
7340 /* libmpeg2 wants ARCH_PPC and the rest of mplayer use ARCH_POWERPC, 7346 /* libmpeg2 wants ARCH_PPC and the rest of mplayer use ARCH_POWERPC,
7341 * define ARCH_PPC if ARCH_POWERPC is set to cope with that. 7347 * define ARCH_PPC if ARCH_POWERPC is set to cope with that.
7342 */ 7348 */
7343 #ifdef ARCH_POWERPC 7349 #ifdef ARCH_POWERPC
7344 #define ARCH_PPC 1 7350 #define ARCH_PPC 1