From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ECD283858413; Fri, 10 Nov 2023 11:24:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ECD283858413 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1699615478; bh=IbDOm1Kcov6b7MiFPhf0ssxB021vqb0CsyW3yJrojpY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BLu4NkMZms0+BKeBsM1p+s1nGHV//gnvfFRwWYQ3lazD0cpMA1rtZcrmlaq371Kp6 40PHOoANnXeExI74rrW43mi/suX5w/SjrRbdXVwqrvwcIGHV7H5iK8aE4Xikcy3+5m Q4VZpNEGlUGqU44KfmB9OxbZ98jqtfAbqLX5Onfc= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/112308] [14 Regression] GCN: 'error: literal operands are not supported' for 'v_add_co_u32' Date: Fri, 10 Nov 2023 11:24:38 +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: rejects-valid, testsuite-fail 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: ams at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 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=3D112308 --- Comment #1 from CVS Commits --- The master branch has been updated by Andrew Stubbs : https://gcc.gnu.org/g:e24b0fed9234716c146aaf6f8c1b39170e43a6f3 commit r14-5318-ge24b0fed9234716c146aaf6f8c1b39170e43a6f3 Author: Andrew Stubbs Date: Fri Nov 10 11:13:55 2023 +0000 amdgcn: Fix v_add constraints (pr112308) The instruction doesn't allow "B" constants for the vop3b encoding (used when the cc register isn't VCC), so fix the pattern and all the insns that m= ight get split to it post-reload. Also switch to the new constraint format for ease of adding new alternatives. gcc/ChangeLog: PR target/112308 * config/gcn/gcn-valu.md (add3): Fix B constraint and switch to the new format. (add3_dup): Likewise. (add3_vcc): Likewise. (add3_vcc_dup): Likewise. (add3_vcc_zext_dup): Likewise. (add3_vcc_zext_dup_exec): Likewise. (add3_vcc_zext_dup2): Likewise. (add3_vcc_zext_dup2_exec): Likewise.=