From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 57F5C3882047; Thu, 13 Jun 2024 04:32:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 57F5C3882047 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1718253170; bh=Tmg7aLt7symV3WiyW/p7UXsKc+mLOX9T7zoBYVOsBt0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=NR2ay5uOMCb5SrD7dryWeHkXGxkmfpYTqdVM3Pov6nSzCJ3qfjizVcm6nBXY3QLFq 3FuIteHblr4ZVNZaumFwIXUbKbq8Ns0qSG7F6qaSXyCPKt4HmrTW3our8HNZHy5oHl vlbogRZYZOEDx9inpjEYFYA9xvqUKGGvB/HksVXU= From: "pan2.li at intel dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/115456] RISC-V: ICE: unrecognizable insn with march=rv64gcv_zvfhmin Date: Thu, 13 Jun 2024 04:32:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 15.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pan2.li at intel dot com 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: Message-ID: In-Reply-To: References: 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=3D115456 --- Comment #2 from Li Pan --- According to the ISA, Zvfhmin only contains 2 insns, quote as below " The Zvfhmin extension provides minimal support for vectors of IEEE 754-2008 binary16 values, adding conversions to and from binary32. When the Zvfhmin extension is implemented, the vfwcvt.f.f.v and vfncvt.f.f.w instructions be= come defined when SEW=3D16. The EEW=3D16 floating-point operands of these instru= ctions use the binary16 format. " Thus, for this case the vfmv.f.s should be invalid for V4HF mode but expand= ed. We should not generate insn like that here when only zvfhmin is given.=