From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BCC2D3858D35; Thu, 29 Jun 2023 08:35:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BCC2D3858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688027751; bh=a6cBqx8a1rMADqfZ8e4/6Ay2D0729vYjP4DOhzwY2iI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Pstq1B6mHoJHyQWsZywA0EZuBFqMz2zRNORYLf2XVUNmHXWt7anNPC8TceKnEGCEt sBzrNdOWXzIUUFMAsRAUYKHYjAz49LoeWiDKwYs1Mzo10xelzhvFsAWui6ccMYLqwh uNlX9eEliNyZ0ycsXeeNcOx3mPRZVqOFoFFpV0v8= From: "guihaoc at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/110331] ppc64 vec_extract with constant index is suboptimal on P8 Date: Thu, 29 Jun 2023 08:35: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: 13.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: guihaoc at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: guihaoc 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=3D110331 --- Comment #1 from HaoChen Gui --- Even the P9 assembly is not good, as vextu* has a higher lantency than mfvs= rd.=20 li 9,12 vextubrx 3,9,2=