rs6000-cpus.def (ISA_2_6_MASKS_SERVER): Delete upper-regs options.
authorMichael Meissner <meissner@linux.vnet.ibm.com>
Mon, 24 Jul 2017 20:02:33 +0000 (20:02 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Mon, 24 Jul 2017 20:02:33 +0000 (20:02 +0000)
commit1993098939aa6033abb75961127c25e316864501
treedb97d4a0d558a0da8a87271348dde0a32414be59
parent0281547a1d9637f60f93b361bce0b548df120962
rs6000-cpus.def (ISA_2_6_MASKS_SERVER): Delete upper-regs options.

[gcc]
2017-07-24  Michael Meissner  <meissner@linux.vnet.ibm.com>

* config/rs6000/rs6000-cpus.def (ISA_2_6_MASKS_SERVER): Delete
upper-regs options.
(ISA_2_7_MASKS_SERVER): Likewise.
(ISA_3_0_MASKS_IEEE): Likewise.
(OTHER_P8_VECTOR_MASKS): Likewise.
(OTHER_VSX_VECTOR_MASKS): Likewise.
(POWERPC_MASKS): Likewise.
(power7 cpu): Use ISA_2_6_MASKS_SERVER instead of using a
duplicate list of options.
* config/rs6000/rs6000-c.c (rs6000_target_modify_macros): Remove
explicit -mupper-regs options.
* config/rs6000/rs6000.opt (-mvsx-scalar-memory): Delete
-mupper-regs* options.  Delete -mvsx-scalar-memory, which was an
alias for -mupper-regs-df.
* config/rs6000/rs6000.c (rs6000_setup_reg_addr_masks): Likewise.
(rs6000_init_hard_regno_mode_ok): Likewise.
(rs6000_option_override_internal): Likewise.
(rs6000_opt_masks): Likewise.
* config/rs6000/rs6000.h (TARGET_UPPER_REGS_DF): Define upper regs
options in terms of whether -mvsx or -mpower8-vector was used.
(TARGET_UPPER_REGS_DI): Likewise.
(TARGET_UPPER_REGS_SF): Likewise.
* doc/invoke.texi (RS/6000 and PowerPC Options): Delete the
-mupper-regs-* options.

[gcc/testsuite]
2017-07-24  Michael Meissner  <meissner@linux.vnet.ibm.com>

* gcc.target/powerpc/pr65849-1.c: Delete, test no longer valid
since the upper-regs options have been deleted.
* gcc.target/powerpc/pr65849-2.c: Likewise.
* gcc.target/powerpc/pr80099-1.c: Likewise.
* gcc.target/powerpc/pr80099-2.c: Likewise.
* gcc.target/powerpc/pr80099-3.c: Likewise.
* gcc.target/powerpc/pr80099-4.c: Likewise.
* gcc.target/powerpc/pr80099-5.c: Likewise.
* gcc.target/powerpc/builtins-2-p9-runnable.c: Update test to
support removal of the upper-regs options.
* gcc.target/powerpc/p8vector-fp.c: Likewise.
* gcc.target/powerpc/p8vector-ldst.c: Likewise.
* gcc.target/powerpc/p9-dimode1.c: Likewise.
* gcc.target/powerpc/p9-dimode2.c: Likewise.
* gcc.target/powerpc/ppc-fpconv-1.c: Likewise.
* gcc.target/powerpc/ppc-fpconv-10.c: Likewise.
* gcc.target/powerpc/ppc-fpconv-5.c: Likewise.
* gcc.target/powerpc/ppc-fpconv-9.c: Likewise.
* gcc.target/powerpc/ppc-round.c: Likewise.
* gcc.target/powerpc/pr71720.c: Likewise.
* gcc.target/powerpc/pr72853.c: Likewise.
* gcc.target/powerpc/pr79907.c: Likewise.
* gcc.target/powerpc/pr78953.c: Likewise.
* gcc.target/powerpc/upper-regs-df.c: Likewise.
* gcc.target/powerpc/upper-regs-sf.c: Likewise.
* gcc.target/powerpc/vec-extract-1.c: Likewise.
* gcc.target/powerpc/vec-init-3.c: Likewise.
* gcc.target/powerpc/vec-init-6.c: Likewise.
* gcc.target/powerpc/vec-init-7.c: Likewise.
* gcc.target/powerpc/vec-set-char.c: Likewise.
* gcc.target/powerpc/vec-set-int.c: Likewise.
* gcc.target/powerpc/vec-set-short.c: Likewise.

From-SVN: r250482
38 files changed:
gcc/ChangeLog
gcc/config/rs6000/rs6000-c.c
gcc/config/rs6000/rs6000-cpus.def
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.h
gcc/config/rs6000/rs6000.opt
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/builtins-2-p9-runnable.c
gcc/testsuite/gcc.target/powerpc/p8vector-fp.c
gcc/testsuite/gcc.target/powerpc/p8vector-ldst.c
gcc/testsuite/gcc.target/powerpc/p9-dimode1.c
gcc/testsuite/gcc.target/powerpc/p9-dimode2.c
gcc/testsuite/gcc.target/powerpc/ppc-fpconv-1.c
gcc/testsuite/gcc.target/powerpc/ppc-fpconv-10.c
gcc/testsuite/gcc.target/powerpc/ppc-fpconv-5.c
gcc/testsuite/gcc.target/powerpc/ppc-fpconv-9.c
gcc/testsuite/gcc.target/powerpc/ppc-round.c
gcc/testsuite/gcc.target/powerpc/pr65849-1.c [deleted file]
gcc/testsuite/gcc.target/powerpc/pr65849-2.c [deleted file]
gcc/testsuite/gcc.target/powerpc/pr71720.c
gcc/testsuite/gcc.target/powerpc/pr72853.c
gcc/testsuite/gcc.target/powerpc/pr78953.c
gcc/testsuite/gcc.target/powerpc/pr79907.c
gcc/testsuite/gcc.target/powerpc/pr80099-1.c [deleted file]
gcc/testsuite/gcc.target/powerpc/pr80099-2.c [deleted file]
gcc/testsuite/gcc.target/powerpc/pr80099-3.c [deleted file]
gcc/testsuite/gcc.target/powerpc/pr80099-4.c [deleted file]
gcc/testsuite/gcc.target/powerpc/pr80099-5.c [deleted file]
gcc/testsuite/gcc.target/powerpc/upper-regs-df.c
gcc/testsuite/gcc.target/powerpc/upper-regs-sf.c
gcc/testsuite/gcc.target/powerpc/vec-extract-1.c
gcc/testsuite/gcc.target/powerpc/vec-init-3.c
gcc/testsuite/gcc.target/powerpc/vec-init-6.c
gcc/testsuite/gcc.target/powerpc/vec-init-7.c
gcc/testsuite/gcc.target/powerpc/vec-set-char.c
gcc/testsuite/gcc.target/powerpc/vec-set-int.c
gcc/testsuite/gcc.target/powerpc/vec-set-short.c