From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CE81E3858D37; Sun, 19 Feb 2023 23:18:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CE81E3858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1676848686; bh=k+LwTF0gin1yTBIEj4lMHxhlrSwop6f5T1WY2m0QwmQ=; h=From:To:Subject:Date:From; b=ilRbmmlqeazYQ2j6rBbHjRBg6asvEZceh+wnQ33uJFWjeJVvcePKN3wJm/bxyjonX gDtOdz85dNpU2Fx/eI9LVmXSnm9TeWeiZayzMlzYng1om4yIMCjq+nP3JW09Zkab5g Rm0nk9D5SeuhRJpLhn1bB7d//PR8TLWW4TiAL8IU= From: "pali at kernel dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/108853] New: Add new -mcpu=e500 alias for -mcpu=8540 Date: Sun, 19 Feb 2023 23:18:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 12.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pali at kernel dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108853 Bug ID: 108853 Summary: Add new -mcpu=3De500 alias for -mcpu=3D8540 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=3D8540 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 speci= fy core names and not the SoC/product name. So for consistent naming I would propose to add a new option -mcpu=3De500 a= s an alias to -mcpu=3D8540. Note that other projects like binutils/as and LLVM u= se "e500" name for specifying e500 core, and not 8540 word like gcc.=