From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 89DD03858D1E; Mon, 1 May 2023 22:01:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 89DD03858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1682978502; bh=uX8Jt/86JOpJRJzkEblU5cXCe9AERZ1qDkP0/cwv4EA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=UpmTApyjMytvUcYy6K0Us8HjzU9BqH2yXuoBGKYGT6luytk66qzv8vhGg7S0+R1yl OM7my+E4UEkh6TA+qbDsTbUkh0UzHgQN5DOlluqg3uFZzvvMZaP/1k/qVieTxwOCjd mygrijQnFbfAt7cEtsqAB7oGyPpvhNvvlGRqffD8= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/109690] bad SLP vectorization on zen Date: Mon, 01 May 2023 22:01:42 +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: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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=3D109690 --- Comment #2 from Andrew Pinski --- Even more interesting is: for (int i =3D 0; i < 3; i++) a[i] =3D ((unsigned)a[i]) << 1; Produces different code .=