rs6000.opt (-mpower9-dform-scalar): Delete undocumented switches.
authorMichael Meissner <meissner@gcc.gnu.org>
Fri, 25 Aug 2017 13:07:10 +0000 (13:07 +0000)
committerMichael Meissner <meissner@gcc.gnu.org>
Fri, 25 Aug 2017 13:07:10 +0000 (13:07 +0000)
[gcc]
2017-08-24  Michael Meissner  <meissner@linux.vnet.ibm.com>

* config/rs6000/rs6000.opt (-mpower9-dform-scalar): Delete
undocumented switches.
(-mpower9-dform-vector): Likewise.
(-mpower9-dform): Likewise.
* config/rs6000/rs6000-c.c (rs6000_target_modify_macros): Update
comments to delete references to -mpower9-dform* switches.
* config/rs6000/predicates.md (vsx_quad_dform_memory_operand):
Delete reference to -mpower9-dform* switches, test for
-mpower9-vector instead.
* config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Likewise.
(OTHER_P9_VECTOR_MASKS): Likewise.
(POWERPC_MASKS): Likewise.
* config/rs6000/rs6000.c (rs6000_setup_reg_addr_masks): Change
tests against -mpower9-dform* to -mpower9-vector.  Delete code
that checked for -mpower9-dform* consistancy with other options.
Add test for -mpower9-misc to enable other power9 switches.
(rs6000_init_hard_regno_mode_ok): Likewise.
(rs6000_option_override_internal): Likewise.
(rs6000_emit_prologue): Likewise.
(rs6000_emit_epilogue): Likewise.
(rs6000_opt_masks): Delete -mpower9-dform-{scalar,vector}.
(rs6000_disable_incompatiable_switches): Delete -mpower9-dform.
(emit_fusion_p9_load): Change tests for -mpower9-dform-scalar
-mpower9-vector.
(emit_fusion_p9_store): Likewise.
* config/rs6000/rs6000.h (TARGET_P9_DFORM_SCALAR): Delete
resetting these macros if the assembler does not support ISA 3.0
instructions.
(TARGET_P9_DFORM_VECTOR): Likewise.
* config/rs6000/rs6000.md (peepholes to optimize altivec memory):
Change to use -mpower9-vector instead of -mpower9-dform-scalar.

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

* gcc.target/powerpc/dform-1.c: Delete -mpower9-dform*
options.
* gcc.target/powerpc/dform-2.c: Likewise.
* gcc.target/powerpc/dform-3.c: Likewise.
* gcc.target/powerpc/pr71656-1.c: Likewise.
* gcc.target/powerpc/pr71656-2.c: Likewise.
* gcc.target/powerpc/pr80103-1.c: Likewise.
* gcc.target/powerpc/pr80098-1.c: Likewise.

From-SVN: r251352

gcc/ChangeLog
gcc/testsuite/ChangeLog

index 8697462be423b01053b2d5a19df60617b4a76aa6..1db85a3c17ca47a2226768651355159580ee286f 100644 (file)
@@ -1,3 +1,37 @@
+2017-08-24  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       * config/rs6000/rs6000.opt (-mpower9-dform-scalar): Delete
+       undocumented switches.
+       (-mpower9-dform-vector): Likewise.
+       (-mpower9-dform): Likewise.
+       * config/rs6000/rs6000-c.c (rs6000_target_modify_macros): Update
+       comments to delete references to -mpower9-dform* switches.
+       * config/rs6000/predicates.md (vsx_quad_dform_memory_operand):
+       Delete reference to -mpower9-dform* switches, test for
+       -mpower9-vector instead.
+       * config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Likewise.
+       (OTHER_P9_VECTOR_MASKS): Likewise.
+       (POWERPC_MASKS): Likewise.
+       * config/rs6000/rs6000.c (rs6000_setup_reg_addr_masks): Change
+       tests against -mpower9-dform* to -mpower9-vector.  Delete code
+       that checked for -mpower9-dform* consistancy with other options.
+       Add test for -mpower9-misc to enable other power9 switches.
+       (rs6000_init_hard_regno_mode_ok): Likewise.
+       (rs6000_option_override_internal): Likewise.
+       (rs6000_emit_prologue): Likewise.
+       (rs6000_emit_epilogue): Likewise.
+       (rs6000_opt_masks): Delete -mpower9-dform-{scalar,vector}.
+       (rs6000_disable_incompatiable_switches): Delete -mpower9-dform.
+       (emit_fusion_p9_load): Change tests for -mpower9-dform-scalar
+       -mpower9-vector.
+       (emit_fusion_p9_store): Likewise.
+       * config/rs6000/rs6000.h (TARGET_P9_DFORM_SCALAR): Delete
+       resetting these macros if the assembler does not support ISA 3.0
+       instructions.
+       (TARGET_P9_DFORM_VECTOR): Likewise.
+       * config/rs6000/rs6000.md (peepholes to optimize altivec memory):
+       Change to use -mpower9-vector instead of -mpower9-dform-scalar.
+
 2017-08-25  Alan Modra  <amodra@gmail.com>
 
        PR rtl-optimization/81747
index 5fb7094419f9472117a9a36f0278389847fbd1c0..e716b44782d67fb87e000c917337cc981f370ffe 100644 (file)
@@ -1,3 +1,14 @@
+2017-08-24  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       * gcc.target/powerpc/dform-1.c: Delete -mpower9-dform*
+       options.
+       * gcc.target/powerpc/dform-2.c: Likewise.
+       * gcc.target/powerpc/dform-3.c: Likewise.
+       * gcc.target/powerpc/pr71656-1.c: Likewise.
+       * gcc.target/powerpc/pr71656-2.c: Likewise.
+       * gcc.target/powerpc/pr80103-1.c: Likewise.
+       * gcc.target/powerpc/pr80098-1.c: Likewise.
+
 2017-08-24  Martin Sebor  <msebor@redhat.com>
 
        PR middle-end/81908