https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108853
Bug ID: 108853 Summary: Add new -mcpu=e500 alias for -mcpu=8540 Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: pali at kernel dot org Target Milestone: --- Target: powerpc* To compile code for powerpc e500 core it is needed to specify -mcpu=8540 option. Name 8540 refers to the SoC MPC8540, which was the first released HW product with powerpc e500 core. All other powerpc gcc's -mcpu options specify core names and not the SoC/product name. So for consistent naming I would propose to add a new option -mcpu=e500 as an alias to -mcpu=8540. Note that other projects like binutils/as and LLVM use "e500" name for specifying e500 core, and not 8540 word like gcc.