From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 496AD3858414; Mon, 27 Mar 2023 02:45:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 496AD3858414 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679885112; bh=9gfeqd+/n8zpQeixc6AxU3N/XzPQo7NomAhLnaiwlWc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=xref2PHs6fLoagaNBvzcXrVHrEP10P+v/rJ9lhAE29j2tDmoAmByQhej0+NiQ1UMF kU9DRLL8G6X4J7SQOACmhBVWUs4ZDnT6u1jHcSOhAzJrn+3iMYhPFeq56J3jVWbaGu 1FHMeCwsqmd0uybLVkcVWaKJZM/7fVxHe58yi8tQ= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/109167] rs6000: _mm_slli_si128 and _mm_bslli_si128 are inconsistent in wrapper header Date: Mon, 27 Mar 2023 02:45:11 +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: 13.0 X-Bugzilla-Keywords: 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: linkw 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=3D109167 --- Comment #2 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:1e20bb6737e1173a0c3ef3e9e48c0eda40985ded commit r13-6871-g1e20bb6737e1173a0c3ef3e9e48c0eda40985ded Author: Kewen Lin Date: Sun Mar 26 21:43:39 2023 -0500 rs6000: Make _mm_slli_si128 and _mm_bslli_si128 consistent [PR109167] As PR109167 shows, it's unexpected to have two different implementation ways for _mm_slli_si128 and _mm_bslli_si128, as gcc/config/i386/emmintrin.h they should be the same. So this patch is to fix it accordingly. PR target/109167 gcc/ChangeLog: * config/rs6000/emmintrin.h (_mm_bslli_si128): Move the implementation from ... (_mm_slli_si128): ... here. Change to call _mm_bslli_si128 directly. gcc/testsuite/ChangeLog: * gcc.target/powerpc/pr109167.c: New test.=