Commit fe3e7450 by Alan Modra Committed by Alan Modra

config.gcc: Remove excess indentation.

	* config.gcc: Remove excess indentation.
	(powerpc*-*-*, rs6000-*-*): Accept --with-cpu/tune power5 and 8548.

From-SVN: r96405
parent 1d2093c3
2005-03-14 Alan Modra <amodra@bigpond.net.au>
* config.gcc: Remove excess indentation.
(powerpc*-*-*, rs6000-*-*): Accept --with-cpu/tune power5 and 8548.
2005-03-13 Roger Sayle <roger@eyesopen.com> 2005-03-13 Roger Sayle <roger@eyesopen.com>
PR middle-end/19331 PR middle-end/19331
......
...@@ -2313,24 +2313,24 @@ if test x$with_float = x; then ...@@ -2313,24 +2313,24 @@ if test x$with_float = x; then
esac esac
fi fi
# Similarly for --with-schedule. # Similarly for --with-schedule.
if test x$with_schedule = x; then if test x$with_schedule = x; then
case ${target} in case ${target} in
hppa1* | parisc1*) hppa1* | parisc1*)
# Override default PA8000 scheduling model. # Override default PA8000 scheduling model.
with_schedule=7100LC with_schedule=7100LC
;; ;;
esac esac
fi fi
# Validate and mark as valid any --with options supported # Validate and mark as valid any --with options supported
# by this target. In order to use a particular --with option # by this target. In order to use a particular --with option
# you must list it in supported_defaults; validating the value # you must list it in supported_defaults; validating the value
# is optional. This case statement should set nothing besides # is optional. This case statement should set nothing besides
# supported_defaults. # supported_defaults.
supported_defaults= supported_defaults=
case "${target}" in case "${target}" in
alpha*-*-*) alpha*-*-*)
supported_defaults="cpu tune" supported_defaults="cpu tune"
for which in cpu tune; do for which in cpu tune; do
...@@ -2538,13 +2538,12 @@ fi ...@@ -2538,13 +2538,12 @@ fi
eval $with_which= eval $with_which=
;; ;;
"" | common \ "" | common \
| power | power2 | power3 | power4 \ | power | power[2345] | powerpc | powerpc64 \
| powerpc | powerpc64 \
| rios | rios1 | rios2 | rsc | rsc1 | rs64a \ | rios | rios1 | rios2 | rsc | rsc1 | rs64a \
| 401 | 403 | 405 | 405fp | 440 | 440fp | 505 \ | 401 | 403 | 405 | 405fp | 440 | 440fp | 505 \
| 601 | 602 | 603 | 603e | ec603e | 604 \ | 601 | 602 | 603 | 603e | ec603e | 604 \
| 604e | 620 | 630 | 740 | 750 | 7400 | 7450 \ | 604e | 620 | 630 | 740 | 750 | 7400 | 7450 \
| 8540 | 801 | 821 | 823 | 860 | 970 | G3 | G4 | G5) | 854[08] | 801 | 821 | 823 | 860 | 970 | G3 | G4 | G5)
# OK # OK
;; ;;
*) *)
...@@ -2643,11 +2642,11 @@ fi ...@@ -2643,11 +2642,11 @@ fi
;; ;;
esac esac
;; ;;
esac esac
# Set some miscellaneous flags for particular targets. # Set some miscellaneous flags for particular targets.
target_cpu_default2= target_cpu_default2=
case ${target} in case ${target} in
alpha*-*-*) alpha*-*-*)
if test x$gas = xyes if test x$gas = xyes
then then
...@@ -2768,44 +2767,45 @@ fi ...@@ -2768,44 +2767,45 @@ fi
;; ;;
esac esac
;; ;;
esac esac
t= t=
all_defaults="abi cpu arch tune schedule float mode fpu divide" all_defaults="abi cpu arch tune schedule float mode fpu divide"
for option in $all_defaults for option in $all_defaults
do do
eval "val=\$with_$option" eval "val=\$with_$option"
if test -n "$val"; then if test -n "$val"; then
case " $supported_defaults " in case " $supported_defaults " in
*" $option "*) *" $option "*)
;; ;;
*) *)
echo "This target does not support --with-$option." 2>&1 echo "This target does not support --with-$option." 2>&1
exit 1 exit 1
;; ;;
esac esac
if test "x$t" = x if test "x$t" = x
then then
t="{ \"$option\", \"$val\" }" t="{ \"$option\", \"$val\" }"
else else
t="${t}, { \"$option\", \"$val\" }" t="${t}, { \"$option\", \"$val\" }"
fi
fi fi
done
if test "x$t" = x
then
configure_default_options="{ { NULL, NULL} }"
else
configure_default_options="{ ${t} }"
fi fi
done
if test "$target_cpu_default2" != "" if test "x$t" = x
then
configure_default_options="{ { NULL, NULL} }"
else
configure_default_options="{ ${t} }"
fi
if test "$target_cpu_default2" != ""
then
if test "$target_cpu_default" != ""
then then
if test "$target_cpu_default" != "" target_cpu_default="(${target_cpu_default}|${target_cpu_default2})"
then else
target_cpu_default="(${target_cpu_default}|${target_cpu_default2})" target_cpu_default=$target_cpu_default2
else
target_cpu_default=$target_cpu_default2
fi
fi fi
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment