From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6B2BB3858D39; Mon, 20 Feb 2023 03:32:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6B2BB3858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1676863971; bh=pyizzHXCjJEOp8rkWWPbLGbpS/hzsA+oHv0Y/QNXT90=; h=From:To:Subject:Date:In-Reply-To:References:From; b=TRXfQQdC2gVaLsT8hdNEFLR84xbcvKxTG9TdhDpyWAee7smTes6gfreEqHlgVh/bb VLzFTqpbzzMDfO2D9PSjoZHqLUtigfHAkX9RO9JRTle2n7dnM1GA/zXkt11bKSvGq0 xAycdL8QgHVXayO/OVajXcQdDN4nFxA5/bOY+vhg= From: "crazylht at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/94908] Failure to optimally optimize certain shuffle patterns Date: Mon, 20 Feb 2023 03:32: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: 10.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: crazylht at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned 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=3D94908 --- Comment #6 from Hongtao.liu --- Yes, insertps can select any element from src and insert into any place of = the dest. under sse4.1, x86 can generate=20 vinsertps xmm0, xmm1, xmm0, 64 # xmm0 =3D xmm0[1],xmm1[1,2,3]=