Skip to content

Commit

Permalink
Delete powerpcspe
Browse files Browse the repository at this point in the history
This deletes powerpcspe, which was deprecated for GCC 8.

This does not change the testsuite, or libgcc for rs6000 (which still
is shared code with powerpcspe, so can use some cleanup after this).


/
	* contrib/config-list.mk: Remove powerpc-eabispe and powerpc-linux_spe.

gcc/
	* config.gcc (Obsolete configurations): Delete powerpc*-*-*spe*.
	(Unsupported targets): Add powerpc*-*-*spe*.
	(powerpc*-*-*spe*): Delete.
	(powerpc-*-eabispe*): Delete.
	(powerpc-*-rtems*spe*): Delete.
	(powerpc*-*-linux*spe*): Delete.
	(powerpc*-*-linux*): Do not handle the linux*spe* targets.
	(powerpc-wrs-vxworks*spe): Delete.
	(with_cpu setting code): Delete powerpc*-*-*spe* handling.
	* config.host (target powerpc*-*-*spe*): Delete.
	* doc/invoke.texi (PowerPC SPE Options): Delete.
	(PowerPC SPE Options): Delete.
	* config/powerpcspe: Delete.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@266961 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
segher committed Dec 10, 2018
1 parent 600220b commit b31d034
Show file tree
Hide file tree
Showing 153 changed files with 23 additions and 112,990 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2018-12-10 Segher Boessenkool <segher@kernel.crashing.org>

* contrib/config-list.mk: Remove powerpc-eabispe and powerpc-linux_spe.

2018-12-05 Iain Sandoe <iain@sandoe.co.uk>

* configure.ac (NCN_STRICT_CHECK_TOOLS): Check otool.
Expand Down
4 changes: 2 additions & 2 deletions contrib/config-list.mk
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ LIST = aarch64-elf aarch64-linux-gnu aarch64-rtems \
pdp11-aout \
powerpc-darwin8 \
powerpc-darwin7 powerpc64-darwin powerpc-freebsd6 powerpc-netbsd \
powerpc-eabispe powerpc-eabisimaltivec powerpc-eabisim ppc-elf \
powerpc-eabisimaltivec powerpc-eabisim ppc-elf \
powerpc-eabialtivec powerpc-xilinx-eabi powerpc-eabi \
powerpc-rtems powerpc-linux_spe \
powerpc-rtems \
powerpc64-linux_altivec \
powerpc-wrs-vxworks powerpc-wrs-vxworksae powerpc-wrs-vxworksmils \
powerpc-lynxos powerpcle-elf \
Expand Down
16 changes: 16 additions & 0 deletions gcc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
2018-12-10 Segher Boessenkool <segher@kernel.crashing.org>

* config.gcc (Obsolete configurations): Delete powerpc*-*-*spe*.
(Unsupported targets): Add powerpc*-*-*spe*.
(powerpc*-*-*spe*): Delete.
(powerpc-*-eabispe*): Delete.
(powerpc-*-rtems*spe*): Delete.
(powerpc*-*-linux*spe*): Delete.
(powerpc*-*-linux*): Do not handle the linux*spe* targets.
(powerpc-wrs-vxworks*spe): Delete.
(with_cpu setting code): Delete powerpc*-*-*spe* handling.
* config.host (target powerpc*-*-*spe*): Delete.
* doc/invoke.texi (PowerPC SPE Options): Delete.
(PowerPC SPE Options): Delete.
* config/powerpcspe: Delete.

2018-12-10 Uros Bizjak <ubizjak@gmail.com>

PR target/88418
Expand Down
65 changes: 1 addition & 64 deletions gcc/config.gcc
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ md_file=
# Obsolete configurations.
case ${target} in
*-*-solaris2.10* \
| powerpc*-*-*spe* \
| tile*-*-* \
)
if test "x$enable_obsolete" != xyes; then
Expand Down Expand Up @@ -279,6 +278,7 @@ case ${target} in
| mips64orion*-*-rtems* \
| pdp11-*-bsd \
| powerpc*-*-linux*paired* \
| powerpc*-*-*spe* \
| sparc-hal-solaris2* \
| thumb-*-* \
| *-*-freebsd[12] | *-*-freebsd[1234].* \
Expand Down Expand Up @@ -488,16 +488,6 @@ nvptx-*-*)
or1k*-*-*)
cpu_type=or1k
;;
powerpc*-*-*spe*)
cpu_type=powerpcspe
extra_headers="ppc-asm.h altivec.h spe.h ppu_intrinsics.h paired.h spu2vmx.h vec_types.h si2vmx.h htmintrin.h htmxlintrin.h"
case x$with_cpu in
xpowerpc64|xdefault64|x6[23]0|x970|xG5|xpower[3456789]|xpower6x|xrs64a|xcell|xa2|xe500mc64|xe5500|xe6500)
cpu_is_64bit=yes
;;
esac
extra_options="${extra_options} g.opt fused-madd.opt powerpcspe/powerpcspe-tables.opt"
;;
powerpc*-*-*)
cpu_type=rs6000
extra_objs="rs6000-string.o rs6000-p8swap.o"
Expand Down Expand Up @@ -2592,12 +2582,6 @@ powerpc-*-netbsd*)
tmake_file="${tmake_file} rs6000/t-netbsd"
extra_options="${extra_options} rs6000/sysv4.opt"
;;
powerpc-*-eabispe*)
tm_file="${tm_file} dbxelf.h elfos.h freebsd-spec.h newlib-stdint.h ${cpu_type}/sysv4.h ${cpu_type}/eabi.h ${cpu_type}/e500.h ${cpu_type}/eabispe.h"
extra_options="${extra_options} ${cpu_type}/sysv4.opt"
tmake_file="${cpu_type}/t-spe ${cpu_type}/t-ppccomm"
use_gcc_stdint=wrap
;;
powerpc-*-eabisimaltivec*)
tm_file="${tm_file} dbxelf.h elfos.h gnu-user.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/eabi.h rs6000/eabisim.h rs6000/eabialtivec.h"
extra_options="${extra_options} rs6000/sysv4.opt"
Expand Down Expand Up @@ -2627,26 +2611,11 @@ powerpc-*-eabi*)
tmake_file="rs6000/t-fprules rs6000/t-ppcgas rs6000/t-ppccomm"
use_gcc_stdint=wrap
;;
powerpc-*-rtems*spe*)
tm_file="${tm_file} dbxelf.h elfos.h freebsd-spec.h newlib-stdint.h powerpcspe/sysv4.h powerpcspe/eabi.h powerpcspe/e500.h powerpcspe/rtems.h rtems.h"
extra_options="${extra_options} powerpcspe/sysv4.opt"
tmake_file="${tmake_file} powerpcspe/t-fprules powerpcspe/t-rtems powerpcspe/t-ppccomm"
;;
powerpc-*-rtems*)
tm_file="rs6000/biarch64.h ${tm_file} dbxelf.h elfos.h gnu-user.h freebsd-spec.h newlib-stdint.h rs6000/sysv4.h rs6000/rtems.h rtems.h"
extra_options="${extra_options} rs6000/sysv4.opt rs6000/linux64.opt"
tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-rtems rs6000/t-ppccomm"
;;
powerpc*-*-linux*spe*)
tm_file="${tm_file} dbxelf.h elfos.h gnu-user.h freebsd-spec.h powerpcspe/sysv4.h"
extra_options="${extra_options} powerpcspe/sysv4.opt"
tmake_file="${tmake_file} powerpcspe/t-fprules powerpcspe/t-ppccomm"
extra_objs="$extra_objs powerpcspe-linux.o"
maybe_biarch=
tm_file="${tm_file} powerpcspe/linux.h glibc-stdint.h"
tmake_file="${tmake_file} powerpcspe/t-ppcos powerpcspe/t-linux"
tm_file="${tm_file} powerpcspe/linuxspe.h powerpcspe/e500.h"
;;
powerpc*-*-linux*)
tm_file="${tm_file} dbxelf.h elfos.h gnu-user.h linux.h freebsd-spec.h rs6000/sysv4.h"
extra_options="${extra_options} rs6000/sysv4.opt"
Expand All @@ -2664,15 +2633,6 @@ powerpc*-*-linux*)
*powerpc64*) maybe_biarch=yes ;;
all) maybe_biarch=yes ;;
esac
case ${target} in
powerpc64*-*-linux*spe*)
echo "*** Configuration ${target} not supported" 1>&2
exit 1
;;
powerpc*-*-linux*spe*)
maybe_biarch=
;;
esac
case ${target}:${enable_targets}:${maybe_biarch} in
powerpc64-* | powerpc-*:*:yes | *:*powerpc64-*:yes | *:all:yes \
| powerpc64le*:*powerpcle* | powerpc64le*:*powerpc-* \
Expand Down Expand Up @@ -2713,8 +2673,6 @@ powerpc*-*-linux*)
extra_options="${extra_options} rs6000/476.opt" ;;
powerpc*-*-linux*altivec*)
tm_file="${tm_file} rs6000/linuxaltivec.h" ;;
powerpc*-*-linux*spe*)
tm_file="${tm_file} ${cpu_type}/linuxspe.h ${cpu_type}/e500.h" ;;
esac
case ${target} in
*-linux*-musl*)
Expand All @@ -2724,13 +2682,6 @@ powerpc*-*-linux*)
tm_file="rs6000/secureplt.h ${tm_file}"
fi
;;
powerpc-wrs-vxworks*spe)
tm_file="${tm_file} elfos.h freebsd-spec.h powerpcspe/sysv4.h"
tmake_file="${tmake_file} powerpcspe/t-fprules powerpcspe/t-ppccomm powerpcspe/t-vxworks"
extra_options="${extra_options} powerpcspe/sysv4.opt"
extra_headers=ppc-asm.h
tm_file="${tm_file} vx-common.h vxworks.h powerpcspe/vxworks.h powerpcspe/e500.h"
;;
powerpc-wrs-vxworks*)
tm_file="${tm_file} elfos.h gnu-user.h freebsd-spec.h rs6000/sysv4.h"
tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-ppccomm rs6000/t-vxworks"
Expand Down Expand Up @@ -3619,20 +3570,6 @@ 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
fi
case ${target_noncanonical} in
e500v2*)
with_cpu=8548
;;
esac
;;
sparc*-*-*)
case ${target} in
*-leon-*)
Expand Down
4 changes: 0 additions & 4 deletions gcc/config.host
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,6 @@ case ${host} in
rs6000-*-* \
| powerpc*-*-* )
case ${target} in
powerpc*-*-*spe*)
host_extra_gcc_objs="driver-powerpcspe.o"
host_xmake_file="${host_xmake_file} powerpcspe/x-powerpcspe"
;;
rs6000-*-* \
| powerpc*-*-* )
host_extra_gcc_objs="driver-rs6000.o"
Expand Down
124 changes: 0 additions & 124 deletions gcc/config/powerpcspe/40x.md

This file was deleted.

Loading

0 comments on commit b31d034

Please sign in to comment.