From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 55AFB3858D28; Mon, 6 May 2024 10:45:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 55AFB3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1714992308; bh=6fZ1t4AonSr2zQNHiFhMKskvdHy8iXAdN5fFCgMKjrU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=LLitw64wZwsWiIiP5ScFr6+E6A8XT96fZzhfmzm01eWNjWbVZzEyLbnnz6TrOe+oQ oBZtJkX8eKh7BWnsL9/P8QoniFwcYYAUF1OGve5Lza5EvwcV7MwYNFn4oLHXYbJtvO JNiTtlXldb0VE9Jhb3DV9s1a0sKJOD8VHB4L6Pa8= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/114958] use __builtin_shufflevector for std::experimental::simd split and concat (at least the common cases) to enable better optimizations Date: Mon, 06 May 2024 10:45:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 15.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mkretz at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D114958 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jakub at gcc dot gnu.org --- Comment #2 from Jakub Jelinek --- I'm not sure the header should use __builtin_shufflevector unconditionally,= I think better test it using __has_builtin first. GCC has it since GCC 12 I think, clang indeed much longer, not sure about o= ther compilers (ICC).=