config.gcc (powerpc*-*-*spe*): Pick 8548 as the default with_cpu if we were configured for an e500v2 target...

2017-10-16  Olivier Hainque  <hainque@adacore.com>

	* gcc/config.gcc (powerpc*-*-*spe*): Pick 8548 as the default
	with_cpu if we were configured for an e500v2 target cpu name.

From-SVN: r253789
This commit is contained in:
Olivier Hainque 2017-10-16 16:50:57 +00:00 committed by Olivier Hainque
parent 39920b043d
commit 3094082db0
2 changed files with 16 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2017-10-16 Olivier Hainque <hainque@adacore.com>
* gcc/config.gcc (powerpc*-*-*spe*): Pick 8548 as the default
with_cpu if we were configured for an e500v2 target cpu name.
2017-10-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
* config/arm/arm-cpus.in (cortex-m33): Add nodsp option.

View file

@ -3437,11 +3437,18 @@ if test x$with_cpu = x ; then
esac
;;
powerpc*-*-*spe*)
# For SPE, start with 8540, then upgrade to 8548 if
# --enable-e500-double was requested explicitly or if we were
# configured for e500v2.
with_cpu=8540
if test x$enable_e500_double = xyes; then
with_cpu=8548
else
with_cpu=8540
fi
with_cpu=8548
fi
case ${target_noncanonical} in
e500v2*)
with_cpu=8548
;;
esac
;;
sparc*-*-*)
case ${target} in