From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 3C46638460B4; Wed, 10 Apr 2024 15:35:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3C46638460B4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712763326; bh=24HVYg4S2odjZqVpdGYioFo83GfYmitibiEPMean9yI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mCBiSyxEK4hMWi/LFmeLYN82ZxYOUcXabzvvCtMyFKJx4nW5iPd0IaJQ+UZ1N9V+I ZSYV5voLkQ00rStECwDM68Zm4qc5eveAg7CSrcvBI4TOftlMiozRfTrJQLsYgv9hPJ dd0GnWXbTruvjyDjzaOGu2+Ubm5xRN1TqorVv3ZA= From: "rdapp at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/114668] [14] RISC-V rv64gcv: miscompile at -O3 Date: Wed, 10 Apr 2024 15:35:25 +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: 14.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rdapp 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: 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=3D114668 --- Comment #2 from Robin Dapp --- This, again, seems to be a problem with bit extraction from masks. For some reason I didn't add the VLS modes to the corresponding vec_extract patterns. With those in place the problem is gone because we go through the expander which does the right thing. I'm still checking what exactly goes wrong without those as there is likely= a latent bug.=