From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B4D2F3858C2F; Sat, 24 Sep 2022 08:41:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B4D2F3858C2F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664008870; bh=DxZhHg0SsNHH6tb98EfqTYD7ruW4mm+Vj0YTA9+7EIE=; h=From:To:Subject:Date:From; b=NwTd6Mk8YYKOXIZwNdiasbqZtEObmm37FkyltC6UX+ZXd9UXGY64z5J/hrDB9IklM 0KyRX8sc5fU/KAkHg2Wryn0+e270YPu5C7hE1oIPIo4W1bz1dWh6Yh720jr4ffblnI asNtowc7z+VQUBedpLt9069YF0ZlNyjWmenXvTZc= From: "rsandifo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107025] New: gas doesn't accept code produced by -mcpu=thunderx3t110 Date: Sat, 24 Sep 2022 08:41:09 +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.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rsandifo at gcc dot gnu.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 cc 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=3D107025 Bug ID: 107025 Summary: gas doesn't accept code produced by -mcpu=3Dthunderx3t110 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: rsandifo at gcc dot gnu.org CC: ktkachov at gcc dot gnu.org, pinskia at gcc dot gnu.org, rearnsha at gcc dot gnu.org Target Milestone: --- Target: aarch64*-*-* Compiling: void foo (_Atomic int *ptr) { ptr[1] =3D 1; } with -O2 -mcpu=3Dthunderx3t110 produces: Error: selected processor does not support `stlur w1,[x0,4]' This is because thunderx3t110 is listed as an Armv8.3-A core, but includes the Armv8.4-A RCPC extension: AARCH64_CORE("thunderx3t110", thunderx3t110, thunderx3t110, V8_3A,=20 AARCH64_F\ L_CRYPTO | AARCH64_FL_RCPC | AARCH64_FL_SM4 | AARCH64_FL_SHA3 | AARCH64_FL_F16F\ ML | AARCH64_FL_RCPC8_4, thunderx3t110, 0x43, 0x0b8, 0x0a) This extension doesn't have its own separate feature flag in gcc, gas, or clang. I guess the options are to add one or to remove the AARCH64_FL_RCPC8_4 entry.=