From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4753B3858CD1; Thu, 21 Mar 2024 09:55:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4753B3858CD1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711014940; bh=FutVHsx4MopfXhGpKdPqhCLCxhPgzMpnsAuJSBNGU1g=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wObiDgyNK/FK5mwU1RDNODYSEjSswolwKopQ64m6Xt1g/yOfO5kwNLMASNCfx/J3m UHEyJQAb7i59Bd+0H2xfL/0hDmxcLq5Z+xi227Cjc5WFA0AQz/TxoD9wda9UPz9qEH LsYEumdsz3dMZMwiLU6nFbEUp0tylH6/JsWFU9DU= 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, 21 Mar 2024 09:55:36 +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 #5 from GCC Commits --- The releases/gcc-13 branch has been updated by jeevitha : https://gcc.gnu.org/g:27eb6e81e6e578da9f9947d3f96c0fa58971fe7f commit r13-8474-g27eb6e81e6e578da9f9947d3f96c0fa58971fe7f Author: Jeevitha Date: Wed Mar 20 23:34:46 2024 -0500 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. (cherry picked from commit fa0468877869f52b05742de6deef582e4dd296fc)=