From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DEDCE385B834; Mon, 30 Mar 2020 07:04:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DEDCE385B834 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1585551866; bh=6Ep7buAWDaQHxQPIb+Fi2h5pymWWHc1L1vvRJVCvcck=; h=From:To:Subject:Date:From; b=dOVOfOWYNqAd9q28A2IXivj6zhdWXID/eiwLNrz9JbMyO1Twfu6MNISN0u4BSeQ+F IS+6AuXgbCgSAj9uEpQK4p6axCf1I+kkRRhhAH4OOV5isgRKw8qmbrH17Um6jEgyxm skeYg1NbrGCW5ZJ5Hn1hCcfQaDK9/3+0uDSs+fRs= From: "tnfchris at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/94396] New: [8/9/10 Regression] fp16 feature bits not passed on to assembler from Armv8.4-a and up. Date: Mon, 30 Mar 2020 07:04:26 +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: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tnfchris at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: tnfchris 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Mar 2020 07:04:27 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94396 Bug ID: 94396 Summary: [8/9/10 Regression] fp16 feature bits not passed on to assembler from Armv8.4-a and up. Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: tnfchris at gcc dot gnu.org Reporter: tnfchris at gcc dot gnu.org Target Milestone: --- Target: aarch64-* At Arm8.2-a using `+fp16fml` enables both `+fp` and `+fp16` as such the smallest canonical option to use is `armv8.2-a+fp16fml`. For `Armv8.4-a` and up `+fp16fml` is mandatory if `+fp16` but optional otherwise. This requirement confuses the canonization. This confusion makes `armv8.4-a+fp16` canonicalize to `armv8.4-a` which is incorrect and so it's impossible to use `fp16` and `fp16fml` at `armv8.4-a`= and higher.=