|
|
|
@ -1334,43 +1334,43 @@ if test $cpu != "generic"; then |
|
|
|
|
601|ppc601|PowerPC601) |
|
|
|
|
add_cflags "-mcpu=601" |
|
|
|
|
if enabled altivec; then |
|
|
|
|
echo "WARNING: Tuning for PPC601 but AltiVec enabled!"; |
|
|
|
|
echo "WARNING: Tuning for PPC601 but AltiVec enabled."; |
|
|
|
|
fi |
|
|
|
|
;; |
|
|
|
|
603*|ppc603*|PowerPC603*) |
|
|
|
|
add_cflags "-mcpu=603" |
|
|
|
|
if enabled altivec; then |
|
|
|
|
echo "WARNING: Tuning for PPC603 but AltiVec enabled!"; |
|
|
|
|
echo "WARNING: Tuning for PPC603 but AltiVec enabled."; |
|
|
|
|
fi |
|
|
|
|
;; |
|
|
|
|
604*|ppc604*|PowerPC604*) |
|
|
|
|
add_cflags "-mcpu=604" |
|
|
|
|
if enabled altivec; then |
|
|
|
|
echo "WARNING: Tuning for PPC604 but AltiVec enabled!"; |
|
|
|
|
echo "WARNING: Tuning for PPC604 but AltiVec enabled."; |
|
|
|
|
fi |
|
|
|
|
;; |
|
|
|
|
G3|g3|75*|ppc75*|PowerPC75*) |
|
|
|
|
add_cflags "-mcpu=750 -mpowerpc-gfxopt" |
|
|
|
|
if enabled altivec; then |
|
|
|
|
echo "WARNING: Tuning for PPC75x but AltiVec enabled!"; |
|
|
|
|
echo "WARNING: Tuning for PPC75x but AltiVec enabled."; |
|
|
|
|
fi |
|
|
|
|
;; |
|
|
|
|
G4|g4|745*|ppc745*|PowerPC745*) |
|
|
|
|
add_cflags "-mcpu=7450 -mpowerpc-gfxopt" |
|
|
|
|
if disabled altivec; then |
|
|
|
|
echo "WARNING: Tuning for PPC745x but AltiVec disabled!"; |
|
|
|
|
echo "WARNING: Tuning for PPC745x but AltiVec disabled."; |
|
|
|
|
fi |
|
|
|
|
;; |
|
|
|
|
74*|ppc74*|PowerPC74*) |
|
|
|
|
add_cflags "-mcpu=7400 -mpowerpc-gfxopt" |
|
|
|
|
if disabled altivec; then |
|
|
|
|
echo "WARNING: Tuning for PPC74xx but AltiVec disabled!"; |
|
|
|
|
echo "WARNING: Tuning for PPC74xx but AltiVec disabled."; |
|
|
|
|
fi |
|
|
|
|
;; |
|
|
|
|
G5|g5|970|ppc970|PowerPC970|power4*|Power4*) |
|
|
|
|
add_cflags "-mcpu=970 -mpowerpc-gfxopt -mpowerpc64" |
|
|
|
|
if disabled altivec; then |
|
|
|
|
echo "WARNING: Tuning for PPC970 but AltiVec disabled!"; |
|
|
|
|
echo "WARNING: Tuning for PPC970 but AltiVec disabled."; |
|
|
|
|
fi |
|
|
|
|
POWERPCMODE="64bits" |
|
|
|
|
;; |
|
|
|
|