From: Michael Meissner Date: Fri, 25 Aug 2017 13:07:10 +0000 (+0000) Subject: rs6000.opt (-mpower9-dform-scalar): Delete undocumented switches. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=56b26dd40956052f62cf5ed5ff678d2cd758e0ec;p=gcc.git rs6000.opt (-mpower9-dform-scalar): Delete undocumented switches. [gcc] 2017-08-24 Michael Meissner * 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 * 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8697462be42..1db85a3c17c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,37 @@ +2017-08-24 Michael Meissner + + * 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 PR rtl-optimization/81747 diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5fb7094419f..e716b44782d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,14 @@ +2017-08-24 Michael Meissner + + * 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 PR middle-end/81908