https://gcc.gnu.org/g:07cbfbebdfbe1efee4457dbc349b1273fbe5825f
commit 07cbfbebdfbe1efee4457dbc349b1273fbe5825f Author: Michael Meissner <[email protected]> Date: Sun Sep 21 04:15:00 2025 -0400 Update ChangeLog.* Diff: --- gcc/ChangeLog.meissner | 165 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 162 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog.meissner b/gcc/ChangeLog.meissner index ff8d31ce9ed8..6a86d366b5a7 100644 --- a/gcc/ChangeLog.meissner +++ b/gcc/ChangeLog.meissner @@ -1,6 +1,165 @@ -==================== Branch work222, patch #3 patch was withdrawn ==================== -==================== Branch work222, patch #2 patch was withdrawn ==================== -==================== Branch work222, patch #1 patch was withdrawn ==================== +==================== Branch work222, patch #16 ==================== + +Remove internal -mpower10 support. + +2025-09-21 Michael Meissner <[email protected]> + +gcc/ + + * config/rs6000/rs6000-cpus.def (POWER10_MASKS_SERVER): Drop -mpower10 + ISA option. + (POWERPC_MASKS): Likewise. + * config/rs6000/rs6000.cc (rs6000_opt_masks): Likewise. + * config/rs6000/rs6000.h (TARGET_POWER10): New macro. + * config/rs6000/rs6000.opt (-mpower10): Drop power11 from being an ISA + option. + +==================== Branch work222, patch #15 ==================== + +Remove internal -mpower11 support. + +2025-09-21 Michael Meissner <[email protected]> + +gcc/ + + * config/rs6000/rs6000-cpus.def (POWER11_MASKS_SERVER): Drop -mpower11 + ISA option. + (POWERPC_MASKS): Likewise. + * config/rs6000/rs6000.cc (rs6000_opt_masks): Likewise. + * config/rs6000/rs6000.h (TARGET_POWER11): New macro. + * config/rs6000/rs6000.opt (-mpower11): Drop power11 from being an ISA + option. + +==================== Branch work222, patch #14 ==================== + +Add -mcpu=future support. + +2025-09-21 Michael Meissner <[email protected]> + +gcc/ + + * config/rs6000/aix71.h (ASM_CPU_SPEC): If -mcpu=future, pass -mfuture + to the assembler. + * config/rs6000/aix72.h (ASM_CPU_SPEC): Likewise. + * config/rs6000/aix73.h (ASM_CPU_SPEC): Likewise. + * config/rs6000/rs6000.c.cc (rs6000_target_modify_macros): If + -mcpu=future define _ARCH_FUTURE. + * config/rs6000/rs6000-cpus.def (FUTURE_MASKS_SERVER): New macro. + (CPU_OPTION_FUTURE_MASK): Add support for -mcpu=future. + (CPU_OPTION_FUTURE_ALL_MASKS): Likewise. + (future cpu): Likewise. + * config/rs6000/rs6000-tables.opt: Regenerate. + * config/rs6000/rs6000.cc (power10_cost): Update comment. + (rs6000_machine_from_flags): Add support for -mcpu=future. + (rs6000_cpu_opt_masks): Likewise. + * config/rs6000/rs6000.h (ASM_CPU_SPEC): If -mcpu=future, pass -mfuture + to the assembler. + (TARGET_FUTURE): New macro. + +gcc/testsuite/ + + * gcc.target/powerpc/future-1.c: New test. + * gcc.target/powerpc/future-2.c: Likewise. + +==================== Branch work222, patch #13 ==================== + +Move defining _ARCH_PWRx to use CPU options. + +2025-09-21 Michael Meissner <[email protected]> + +gcc/ + + * config/rs6000/rs6000-c.cc (rs6000_target_modify_macros): Use CPU + options to define _ARCH_PWR11, _ARCH_PWR11, _ARCH_PWR10, _ARCH_PWR9, + _ARCH_PWR8, _ARCH_PWR7, and _ARCH_PWR6. + +==================== Branch work222, patch #12 ==================== + +Move setting the assembler .machine directive to use CPU options. + +2025-09-21 Michael Meissner <[email protected]> + +gcc/ + + * config/rs6000/rs6000.cc (rs6000_machine_from_flags): Set the assembler + .machine name from CPU options for power11 through power6. + +==================== Branch work222, patch #11 ==================== + +Move clone attribute support to use CPU options. + +2025-09-21 Michael Meissner <[email protected]> + +gcc/ + + * config/rs6000/rs6000.cc (struct clone_map): Use CPU options instead of + ISA masks for setting up clone attributes. + (rs6000_clone_map): Likewise. + (rs6000_clone_priority): Likewise. + +==================== Branch work222, patch #10 ==================== + +Add cpu option flag bits + +2025-09-21 Michael Meissner <[email protected]> + +gcc/ + + * config/rs6000/aix71.h (RS6000_CPU_OPTION): Define and undefine macro. + * config/rs6000/aix72.h (RS6000_CPU_OPTION): Likewise. + * config/rs6000/aix73.h (RS6000_CPU_OPTION): Likewise. + * config/rs6000/default64.h (RS6000_CPU_OPTION): Likewise. + * config/rs6000/driver-rs6000.cc (RS6000_CPU_OPTION): Likewise. + * config/rs6000/rs6000-c.cc (rs6000_target_modify_macros): Add CPU + options parameter. + (rs6000_cpu_cpp_builtins): Likewise. + * config/rs6000/rs6000-cpus.def (toplevel): Add comment describing ISA + mask bits and CPU option mask bits. + (CPU_OPTION_POWER6_MASK): New macro. + (CPU_OPTION_POWER7_MASK): Likewise. + (CPU_OPTION_POWER8_MASK): Likewise. + (CPU_OPTION_POWER9_MASK): Likewise. + (CPU_OPTION_POWER10_MASK): Likewise. + (CPU_OPTION_POWER11_MASK): Likewise. + (CPU_OPTION_POWER6_ALL_MASKS): Likewise. + (CPU_OPTION_POWER7_ALL_MASKS): Likewise. + (CPU_OPTION_POWER8_ALL_MASKS): Likewise. + (CPU_OPTION_POWER9_ALL_MASKS): Likewise. + (CPU_OPTION_POWER10_ALL_MASKS): Likewise. + (CPU_OPTION_POWER11_ALL_MASKS): Likewise. + (power6 cpu): Switch to use RS6000_CPU_OPTION in order to set the CPU + option mask bits. + (power6x cpu): Likewise. + (power7 cpu): Likewise. + (power8): Likewise. + (power9): Likewise. + (power10): Likewise. + (power11): Likewise. + * config/rs6000/rs6000-protos.h (rs6000_target_modify_macros): Add CPU + option argument. + (rs6000_target_modify_macros_ptr): Likewise. + * config/rs6000/rs6000.cc (rs6000_target_modify_macros_ptr): Likewise. + (rs6000_print_isa_options): Likewise. + (struct rs6000_ptt): Likewise. + (RS6000_CPU): Likewise. + (RS6000_CPU_OPTION): Likewise. + (DEBUG_FMT_WX): Likewise. + (rs6000_debug_reg_global): Likewise. + (rs6000_option_override_internal): Likewise. + (struct rs6000_cpu_opt_mask): Likewise. + (rs6000_cpu_opt_masks): Likewise. + (rs6000_pragma_target_parse): Likewise. + (rs6000_function_specific_save): Likewise. + (rs6000_function_specific_restore): Likewise. + (rs6000_function_specific_print): Likewise. + (rs6000_print_options_internal): Likewise. + * config/rs6000/rs6000.opt (rs6000_cpu_option_flags): New target + variable. + (x_rs6000_cpu_option_flags): Likewise. + +==================== Branch work222, patch #3 was withdrawn ==================== +==================== Branch work222, patch #2 was withdrawn ==================== +==================== Branch work222, patch #1 was withdrawn ==================== ==================== Branch work222, baseline ====================
