https://gcc.gnu.org/g:330f88297539e6c42f411012016b1ab42c0944c7
commit 330f88297539e6c42f411012016b1ab42c0944c7 Author: Michael Meissner <[email protected]> Date: Thu Dec 4 18:31:03 2025 -0500 Update ChangeLog.* Diff: --- gcc/ChangeLog.meissner | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gcc/ChangeLog.meissner b/gcc/ChangeLog.meissner index 0c8ed4a6e569..7670adfe22e7 100644 --- a/gcc/ChangeLog.meissner +++ b/gcc/ChangeLog.meissner @@ -1,3 +1,58 @@ +==================== Branch work230, patch #1 ==================== + +Add -mcpu=future. + +This patch adds support for a new PowerPC cpu (future). Until it is announced, +the features of future processors may be changed. These patches allow people to +use the new features of processors being developed. If/when the a processor is +announced that has the features, future GCC revisions will be modified to add +support for that new machine. + +If the features provided by -mcpu=future are incorporated into an official +PowerPC server, this option will be renamed to the official name for that +platform. + +This is version 9 of the -mcpu=future patch. + +If the user uses -mcpu=future, -mfuture is passed to the assembler. + +I added support so that if GCC is configured with the --with-cpu=future option +is used, it will set the default cpu type. + +Can I check this patch into the GCC trunk? I have built bootstrap +builds on both a little endian Power10 system and a big endian Power9 +system and there were no regressions. On the little endian Power10 +system, I built the last run using the --with-cpu=future configuration +option. + +2025-12-04 Michael Meissner <[email protected]> + +gcc/ + + * config.gcc (powerpc*-*-*): Add support for -mcpu=future. + * config/rs6000/aix71.h (ASM_CPU_SPEC): Add support for -mcpu=future. + * 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): Define + _ARCH_FUTURE if -mcpu=future. + * config/rs6000/rs6000-cpus.def (FUTURE_MASKS_SERVER): New macro. + (POWERPC_MASKS): Add OPTION_MASK_FUTURE. + (rs6000_cpu_opt_value): New entry for 'future' via the RS6000_CPU macro. + * config/rs6000/rs6000-opts.h (PROCESSOR_FUTURE): New macro. + * config/rs6000/rs6000-tables.opt: Regenerate. + * config/rs6000/rs6000.cc (rs6000_machine_from_flags) If -mcpu=future, + set the .machine directive to "future". + (rs6000_opt_masks): Add entry for -mfuture. + * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add support for -mcpu=future. + * config/rs6000/rs6000.opt (-mfuture): New option. + * doc/invoke.texi (IBM RS/6000 and PowerPC Options): Document + -mcpu=future. + +gcc/testsuite/ + + * gcc.target/powerpc/future-1.c: New test. + * gcc.target/powerpc/future-2.c: Likewise. + ==================== Branch work230, baseline ==================== 2025-12-04 Michael Meissner <[email protected]>
