https://gcc.gnu.org/g:67e4c2848c8fce5874286ebaf3b53c50bc9e8793
commit 67e4c2848c8fce5874286ebaf3b53c50bc9e8793 Author: Michael Meissner <meiss...@linux.ibm.com> Date: Thu Nov 14 23:04:02 2024 -0500 Update ChangeLog.* Diff: --- gcc/ChangeLog.meissner | 137 +++++++++++++++++-------------------------------- 1 file changed, 46 insertions(+), 91 deletions(-) diff --git a/gcc/ChangeLog.meissner b/gcc/ChangeLog.meissner index c1b29fd68f37..23f7f779b59c 100644 --- a/gcc/ChangeLog.meissner +++ b/gcc/ChangeLog.meissner @@ -2,58 +2,50 @@ Change TARGET_MODULO to TARGET_POWER9. -This patch changes TARGET_MODULO to TARGET_POWER9 and OPTION_MASK_MODULO to -OPTION_MASK_POWER9. The -mmodulo switch is not being changed, just the name of -the macros used to determine if the PowerPC processor supports ISA 3.0 (Power9). +This patch changes TARGET_MODULO to TARGET_POWER9. The -mmodulo switch is not +being changed, just the name of the macros used to determine if the PowerPC +processor supports ISA 3.0 (Power9). 2024-11-14 Michael Meissner <meiss...@linux.ibm.com> gcc/ * gcc/config/rs6000/rs6000-builtin.cc (rs6000_builtin_is_supported): - Change TARGET_MODULO to TARGET_POWER9. Change OPTION_MASK_MODULO to - OPTION_MASK_POWER9. - * gcc/config/rs6000/rs6000-c.cc (rs6000_target_modify_macros): Likewise. - * gcc/config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Likewise. - (POWERPC_MASKS): Likewise. + Change TARGET_MODULO to TARGET_POWER9. * gcc/config/rs6000/rs6000.cc (rs6000_option_override_internal): Likewise. - (rs6000_opt_masks): Likewise. * gcc/config/rs6000/rs6000.h (TARGET_CTZ): Likewise. (TARGET_EXTSWSLI): Likewise. (TARGET_MADDLD): Likewise. - * gcc/config/rs6000/rs6000.md (enabled attribute): Likewise. + (TARGET_POWER9): New macro. + * gcc/config/rs6000/rs6000.md (enabled attribute): Change TARGET_MODULO + to TARGET_POWER9. (mod<mode>3): Likewise. (umod<mode>3): Likewise. (divide/modulo peephole2): Likewise. - * gcc/config/rs6000/rs6000.opt (-mmodulo): Likewise. ==================== Branch work186, patch #4 ==================== Change TARGET_POPCNTD to TARGET_POWER7. -This patch changes TARGET_POPCNTD to TARGET_POWER7 and OPTION_MASK_POPCNTD to -OPTION_MASK_POWER7. The -mpopcntd switch is not being changed, just the name of -the macros used to determine if the PowerPC processor supports ISA 2.6 (Power7). +This patch changes TARGET_POPCNTD to TARGET_POWER7. The -mpopcntd switch is not +being changed, just the name of the macros used to determine if the PowerPC +processor supports ISA 2.6 (Power7). 2024-11-14 Michael Meissner <meiss...@linux.ibm.com> gcc/ * gcc/config/rs6000/dfp.md (cmp<mode>_internal1): Change TARGET_POPCNTD - to TARGET_POWER7. Change OPTION_MASK_POPCNTD to OPTION_MASK_POWER7. + to TARGET_POWER7. * gcc/config/rs6000/rs6000-builtin.cc (rs6000_builtin_is_supported): Likewise. - * gcc/config/rs6000/rs6000-c.cc (rs6000_target_modify_macros): Likewise. - * gcc/config/rs6000/rs6000-cpus.def (ISA_2_6_MASKS_EMBEDDED): Likewise. - (ISA_2_6_MASKS_SERVER): Likewise. - (POWERPC_MASKS): Likewise. * gcc/config/rs6000/rs6000-string.cc (expand_block_compare): Likewise. - * gcc/config/rs6000/rs6000.cc (rs6000_opt_masks): Likewise. - (rs6000_hard_regno_mode_ok_uncached): Likewise. + * gcc/config/rs6000/rs6000.cc (rs6000_hard_regno_mode_ok_uncached): + Likewise. (rs6000_option_override_internal): Likewise. (rs6000_rtx_costs): Likewise. - (rs6000_opt_masks): Likewise. + (rs6000_emit_popcount): Likewise. * gcc/config/rs6000/rs6000.h (TARGET_LDBRX): Likewise. (TARGET_FCFID): Likewise. (TARGET_LFIWZX): Likewise. @@ -63,13 +55,13 @@ gcc/ (TARGET_FCTIDUZ): Likewise. (TARGET_FCTIWUZ): Likewise. (TARGET_FCTIDUZ): Likewise. - (TARGET_EXTRA_BUILTINS): Likewise. + (TARGET_POWER7): New macro. + (TARGET_EXTRA_BUILTINS): Change TARGET_POPCNTD to TARGET_POWER7. (CTZ_DEFINED_VALUE_AT_ZERO): Likewise. * gcc/config/rs6000/rs6000.md (enabled attribute): Likewise. (ctz<mode>2): Likewise. - (ffs<mode>2): Likewise. - (popcntb<mode>2): Likewise. - (lrint<mode>si): Likewise. + (popcntd<mode>2): Likewise. + (lrint<mode>si2): Likewise. (lrint<mode>si): Likewise. (lrint<mode>si_di): Likewise. (cmpmemsi): Likewise. @@ -78,125 +70,88 @@ gcc/ (cdtbcd): Likewise. (cbcdtd): Likewise. (div<div_extend>_<mode>): Likewise. - * gcc/config/rs6000/rs6000.opt (-mpopcntd): Likewise. ==================== Branch work186, patch #3 ==================== Change TARGET_CMPB to TARGET_POWER6. -This patch changes TARGET_CMPB to TARGET_POWER6 and OPTION_MASK_CMPB to -OPTION_MASK_POWER6. The -mcmpb switch is not being changed, just the name of -the macros used to determine if the PowerPC processor supports ISA 2.5 (Power6). +This patch changes TARGET_CMPB to TARGET_POWER6. The -mcmpb switch is not being +changed, just the name of the macros used to determine if the PowerPC processor +supports ISA 2.5 (Power6). 2024-11-14 Michael Meissner <meiss...@linux.ibm.com> gcc/ * gcc/config/rs6000/rs6000-builtin.cc (rs6000_builtin_is_supported): - Change TARGET_CMPB to TARGET_POWER6. Change OPTION_MASK_CMPB to - OPTION_MASK_POWER6. - * gcc/config/rs6000/rs6000-c.cc (rs6000_target_modify_macros): Likewise. - * gcc/config/rs6000/rs6000-cpus.def (ISA_2_5_MASKS_EMBEDDED): Likewise. - (POWERPC_MASKS): Likewise. - (476 cpu definition): Likewise. - (476fp cpu definition): Likewise. - (a2 cpu definition): Likewise. - (power6 cpu definition): Likewise. - * gcc/config/rs6000/rs6000.cc (rs6000_clone_map): Likewise. - (rs6000_option_override_internal): Likewise. + Change TARGET_CMPB to TARGET_POWER6. + * gcc/config/rs6000/rs6000.cc (rs6000_option_override_internal): + Likewise. (rs6000_rtx_costs): Likewise. (rs6000_emit_parity): Likewise. - (rs6000_opt_masks): Likewise. * gcc/config/rs6000/rs6000.h (TARGET_FCFID): Likewise. (TARGET_LFIWAX): Likewise. - (TARGET_EXTRA_BUILTINS): Likewise. + (TARGET_POWER6): New macro. + (TARGET_EXTRA_BUILTINS): Change TARGET_CMPB to TARGET_POWER6. * gcc/config/rs6000/rs6000.md (enabled attribute): Likewise. - (parity<mode>2_cmp): Change TARGET_CMPB to TARGET_POWER6. Change - OPTION_MASK_CMPB to OPTION_MASK_POWER6. Eliminate redundant - TARGET_POWER5 test. - (cmpb<mode>3): Change TARGET_CMPB to TARGET_POWER6. Change - OPTION_MASK_CMPB to OPTION_MASK_POWER6. + (parity<mode>2_cmp): Change TARGET_CMPB to TARGET_POWER6. Eliminate + redundant TARGET_POWER5 test. + (cmpb<mode>3): Change TARGET_CMPB to TARGET_POWER6. (copysign<mode>3): Likewise. (copysign<mode>3_fcpsgn): Likewise. (cmpstrnsi): Likewise. (cmpstrsi): Likewise. - * gcc/config/rs6000/rs6000.opt (-mcmpb): Likewise. ==================== Branch work186, patch #2 ==================== Change TARGET_FPRND to TARGET_POWER5X. -This patch changes TARGET_POWER5X to TARGET_POWER5 and OPTION_MASK_POWER5X to -OPTION_MASK_POWER5. The -mfprnd switch is not being changed, just the name of -the macros used to determine if the PowerPC processor supports ISA 2.4 (Power5x). +This patch changes TARGET_POWER5X to TARGET_POWER5. The -mfprnd switch is not +being changed, just the name of the macros used to determine if the PowerPC +processor supports ISA 2.4 (Power5x). 2024-11-14 Michael Meissner <meiss...@linux.ibm.com> gcc/ - * gcc/config/rs6000/rs6000-c.cc (rs6000_target_modify_macros): Change - TARGET_FPRND to TARGET_POWER5X. Change OPTION_MASK_FPRND to - OPTION_MASK_POWER5X. - * gcc/config/rs6000/rs6000-cpus.def (ISA_2_4_MASKS): Likewise. - (POWERPC_MASKS): Likewise. - (464fp cpu definition): Likewise - (476fp cpu definition): Likewise. - (power5+ cpu definition): Likewise. - (power6 cpu definition): Likewise. - (power6x cpu definition): Likewise. * gcc/config/rs6000/rs6000.cc (rs6000_option_override_internal): - Likewise. - (rs6000_opt_masks): Likewise. - * gcc/config/rs6000/rs6000.md (fmod<mode>3): Likewise. + Change TARGET_FPRND to TARGET_POWER5X. + * gcc/config/rs6000/rs6000.h (TARGET_POWERP5X): New macro. + * gcc/config/rs6000/rs6000.md (fmod<mode>3): Change TARGET_FPRND to + TARGET_POWER5X. (remainder<mode>3): Likewise. (fctiwuz_<mode): Likewise. (btrunc<mode>): Likewise. - ("ceil<mode>2): Likewise. + (ceil<mode>2): Likewise. (floor<mode>2): Likewise. (round<mode>2): Likewise. - * gcc/config/rs6000/rs6000.opt (-mfprnd): Likewise. ==================== Branch work186, patch #1 ==================== Change TARGET_POPCNTB to TARGET_POWER5. -This patch changes TARGET_POPCNTB to TARGET_POWER5 and OPTION_MASK_POPCNTB to -OPTION_MASK_POWER5. The -mpopcntb switch is not being changed, just the name of -the macros used to determine if the PowerPC processor supports ISA 2.2 (Power5). +This patch changes TARGET_POPCNTB to TARGET_POWER5. The -mpopcntb switch is not +being changed in this patch, just the name of the macros used to determine if +the PowerPC processor supports ISA 2.2 (Power5). 2024-11-14 Michael Meissner <meiss...@linux.ibm.com> gcc/ * gcc/config/rs6000/rs6000-builtin.cc (rs6000_builtin_is_supported): - Change TARGET_POPCNTB to TARGET_POWER5. Change OPTION_MASK_POPCNTB to - OPTION_MASK_POWER5. + Change TARGET_POPCNTB to TARGET_POWER5. * gcc/config/rs6000/rs6000-c.cc (rs6000_target_modify_macros): Likewise. - * gcc/config/rs6000/rs6000-cpus.def (ISA_2_2_MASKS): Likewise. - (POWERPC_MASKS): Likewise. - (476 cpu definition): Likewise. - (476fp cpu definition): Likewise. - (a2 cpu definition): Likewise. - (power5 cpu definition): Likewise. - (power5+ cpu definition): Likewise. - (power6 cpu definition): Likewise. - (power6x cpu definition): Likewise. - * gcc/config/rs6000/rs6000.cc (rs6000_option_override_internal): - Likewise. - (rs6000_emit_popcount): Update comment. - (rs6000_emit_parity): Likewise. - (rs6000_opt_masks): Change TARGET_POPCNTB to TARGET_POWER5. Change - OPTION_MASK_POPCNTB to OPTION_MASK_POWER5. * gcc/config/rs6000/rs6000.h (TARGET_FCFID): Likewise. - (TARGET_EXTRA_BUILTINS): Likewise. + (TARGET_POWER5): New macro. + (TARGET_EXTRA_BUILTINS): Change TARGET_POPCNTB to TARGET_POWER5. (TARGET_FRE): Likewise. (TARGET_FRSQRTES): Likewise. * gcc/config/rs6000/rs6000.md (enabled attribute): Likewise. - (popcount<mode>2): Likewise. - (popcntb<mode>): Likewise. + (popcount<mode>2): Change TARGET_POPCNTB to TARGET_POWER5. Delete + redundant test for TARGET_POPCNTD. + (popcntb<mode>): Change TARGET_POPCNTB to TARGET_POWER5. (popcntd<mode>): Likewise. (parity<mode>2): Likewise. - * gcc/config/rs6000/rs6000.md (-mpopcntb): Likewise. ==================== Branch work186, baseline ====================