From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8D288385772A; Thu, 7 Mar 2024 14:18:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8D288385772A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1709821132; bh=9PPEw3JJtOdcrdutENt3pPu2MJGfF6C//NzOFCi5Vms=; h=From:To:Subject:Date:In-Reply-To:References:From; b=azJKX5+xwQEjduRU1+CVjqt5ULm4Fl8JjBgVgMGC4K2S+jG4LQP9HHNJ9+JIGbrur 3hf0TqZjuZxS1dGTrPSi++uh4dv8ULYtWxOw0VA2/g+bhrikwhu/+8rm9MEAHUDzmZ s86EXDu8KZRs/fX9IKJiTfL7hG1U0114R6qydPQM= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113950] PowerPC, ICE with -O1 or higher compiling __builtin_vsx_splat_2di test case Date: Thu, 07 Mar 2024 14:18:51 +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: ice-on-valid-code 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: jeevitha 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=3D113950 --- Comment #3 from GCC Commits --- The master branch has been updated by jeevitha : https://gcc.gnu.org/g:fa0468877869f52b05742de6deef582e4dd296fc commit r14-9362-gfa0468877869f52b05742de6deef582e4dd296fc Author: Jeevitha Date: Thu Mar 7 07:41:38 2024 -0600 rs6000: Don't ICE when compiling the __builtin_vsx_splat_2di [PR113950] When we expand the __builtin_vsx_splat_2di built-in, we were allowing immediate value for second operand which causes an unrecognizable insn ICE. Even though the immediate value was forced into a register, it wasn't correctly assigned to the second operand. So corrected the assignment of op1 to operands[1= ]. 2024-03-07 Jeevitha Palanisamy gcc/ PR target/113950 * config/rs6000/vsx.md (vsx_splat_): Correct assignment to operand1 and simplify else if with else. gcc/testsuite/ PR target/113950 * gcc.target/powerpc/pr113950.c: New testcase.=