diff options
author | Romain Dolbeau <dolbeau@irisa.fr> | 2003-07-04 09:39:05 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-07-04 09:39:05 +0000 |
commit | 3efd4952dfcc0e452d28910758876884925c6175 (patch) | |
tree | 72d80608b4f51b22800654225b5908309044460c /configure | |
parent | cc74aafbc633e14005c562fd194ac85cd1d62fa8 (diff) | |
download | ffmpeg-3efd4952dfcc0e452d28910758876884925c6175.tar.gz |
PPC fixes & clean-up patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
Originally committed as revision 2008 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -380,18 +380,25 @@ if test $tune != "generic"; then TUNECPU=ppc604 ;; G3|75*|ppc75*|PowerPC75*) - CFLAGS="$CFLAGS -mcpu=750" + CFLAGS="$CFLAGS -mcpu=750 -mtune=750" if test $altivec = "yes"; then echo "WARNING: tuning for PPC75x but altivec enabled !"; fi TUNECPU=ppc750 ;; - G4|74*|ppc74*|PowerPC74*) - CFLAGS="$CFLAGS -mcpu=7400" + G4|745*|ppc745*|PowerPC745*) + CFLAGS="$CFLAGS -mcpu=7450 -mtune=7450" + if test $altivec = "no"; then + echo "WARNING: tuning for PPC745x but altivec disabled !"; + fi + TUNECPU=ppc7450 + ;; + 74*|ppc74*|PowerPC74*) + CFLAGS="$CFLAGS -mcpu=7400 -mtune=7400" if test $altivec = "no"; then echo "WARNING: tuning for PPC74xx but altivec disabled !"; fi - TUNECPU=ppc7400 + TUNECPU=ppc7450 ;; G5|970|ppc970|PowerPC970|power4*|Power4*) CFLAGS="$CFLAGS -mcpu=970 -mtune=970 -mpowerpc64 -force_cpusubtype_ALL " |