From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 103163858424; Mon, 7 Nov 2022 23:00:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 103163858424 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667862009; bh=C9sWmiFAFtbmMEUWWnkw7Nxb3zq2wX0XrF/NSDfvDRE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=NU9kuMCkRN38IVYLluIkSJdDQb26KBKttCfflKXtccFrXA3Zaz//j+ONOhzkZ/aM1 0jgYUDleVWRSy0LabggZHOIhq3h8X2o37ctCfn13e/YOveopZ+MawIxrgCd03ANzqn e3T2O69zcrNYrWN8XRdg74C0rEgYVvKC4qJrZIBQ= From: "unlvsur at live dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107563] __builtin_shufflevector fails to use pshufb and pshufd instructions under default x86_64 compilation toggle which is the sse2 one Date: Mon, 07 Nov 2022 23:00:06 +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: unlvsur at live dot com 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=3D107563 --- Comment #1 from cqwrteur --- see https://godbolt.org/z/1aM57z7jn vs https://godbolt.org/z/b356qzrMY While clang does the right thing here https://godbolt.org/z/hnfrnb694=