From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 23B133851C04; Wed, 24 Aug 2022 19:20:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 23B133851C04 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1661368851; bh=jkhpTBRD3QtI3Kih1PDzDr9i57H0vEoPJUYFvdtBLUw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Cq20PEpSUyMYIsgJg12vVgBX9wz/rxeIJVbZUgdv4uJRhJqcC7RCfWZRrCHC9CNsr LGpdSMs36difvcp0wjlT/s/8AzmQmXkYT5R69ORiWm1mNXLHa5VBpfY0tFZqrIsq1y 0AqTsL3nbSLwzhhLfWKs/Na9jMts94/pcNixpoe8= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/106632] undefined code causes assembler failure Date: Wed, 24 Aug 2022 19:20:50 +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: 12.0 X-Bugzilla-Keywords: assemble-failure, patch X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: pinskia 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=3D106632 --- Comment #2 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:df5204ddd4b8e3a2d02bb3ad5bcdb9d636b02537 commit r13-2190-gdf5204ddd4b8e3a2d02bb3ad5bcdb9d636b02537 Author: Andrew Pinski Date: Mon Aug 15 22:58:09 2022 +0000 [RISCV] Fix PR 106632 and PR 106588 a few constraints in bitmanip.md The constraints should be n instead of i. Also there needs to a check for out of bounds zero_extract for *bexti. gcc/ChangeLog: PR target/106632 PR target/106588 * config/riscv/bitmanip.md (*shNadduw): Use n constraint instead of i. (*slliuw): Likewise. (*bexti): Likewise. Also add a check for operands[2] to be less than the mode bitsize.=