Message ID | 6895974.e9J7NaK4W3@minbar |
---|---|
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1673451wrt; Tue, 21 Mar 2023 02:23:34 -0700 (PDT) X-Google-Smtp-Source: AK7set976Men3DeC8Fk4YLCtDBjwrxYV471y4kNjiUWZUI53vmew30OW7aOU3JgwyxxFu/gF6nt4 X-Received: by 2002:a17:906:6607:b0:92f:b8d0:746c with SMTP id b7-20020a170906660700b0092fb8d0746cmr2164454ejp.20.1679390614571; Tue, 21 Mar 2023 02:23:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679390614; cv=none; d=google.com; s=arc-20160816; b=yeJ+9Ok7Z5uezIm2l8DmdnuJyU2YYh1mSKFnN/Cj1z585qTW+db5LatCXyhrdZfrjT T3fnlx0IftJaxrkxIcPYLQ4yQEmZVE459X7rBUTswFd1aBPHlIbJZZzckj7fnG0uyOR0 +M6ZoHMNd38Fa3HMGLCoKNMgp6rlZweeZxymZCyqHnWC91NaKZ11q5UwjmP1FcsRZXYF RxWIJb0zmNYjJcaiGE9+LIyaf4rdIg9NpLiai7Utnfsc1H2ikoOj/JcN6SQwaKr8dCRM X7jV81auRpZDkDPl1vP3NOOaos4uV5R+ArdcOvv4GZ3PSiHYIK/FZY7jnk/E2Q/LWYE5 cwsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:from:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence :content-transfer-encoding:mime-version:organization:message-id:date :subject:to:dmarc-filter:delivered-to:dkim-signature:dkim-filter; bh=sAOx5wm40Q+fsLNnZxXV0fGBoE+JoLsyWZVAmg3mnkI=; b=XLzJ1y+rXdM8qfNrMuJLieCLsm4LJKhm0omap1SaFt/qrEHh2//BZXc0b9aF2T9BjX BP1t9XcRKF6aZBsqQeGs+yGdRpr9g86sQbe3+Dnvx/FxZvOIX4wzeFJa1fZrvXvsxzIB fzMVWpEDgQfINtgiWeJlVN/ctuvdqW5TDB64v9CmeaEjkcbbIZcVh2xUqbV72jCKORw+ PcMvQfNWX60kgYtvtVcWrfH/4jbD0+7BdJ/7I0PHMozw6Rr9pSwc+kytKuxyYbtx0zFR m3J/NGkW6KZk1LVAaZOds6whSdrJqh7POu7r5y5WmTWsMbsRsqYDqfQfT448h9GM7Lvn iRiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=tThpH4n1; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id i11-20020a17090639cb00b009314443319esi10967720eje.377.2023.03.21.02.23.34 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 02:23:34 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org header.s=default header.b=tThpH4n1; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gnu.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 57BAA384F02C for <ouuuleilei@gmail.com>; Tue, 21 Mar 2023 09:23:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 57BAA384F02C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679390598; bh=sAOx5wm40Q+fsLNnZxXV0fGBoE+JoLsyWZVAmg3mnkI=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=tThpH4n1J320JkVQh9/lM+U3KvuvbeRP0YnySSd0Se5kZWBDl9JOeceJ7cfViGsVD +aDVv/sabtXNjRkDI6hEx/Pfer6cCUScOysqTbWqD0XPgkAAnoaJfyHqGvJv00X2cK DA0t09ddiLTyaxqyDkfVu5Zkfmdng7zO+yRCbglY= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from lxmtout2.gsi.de (lxmtout2.gsi.de [140.181.3.112]) by sourceware.org (Postfix) with ESMTPS id 214EC385841E; Tue, 21 Mar 2023 09:22:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 214EC385841E Received: from localhost (localhost [127.0.0.1]) by lxmtout2.gsi.de (Postfix) with ESMTP id 20FB3203E7FE; Tue, 21 Mar 2023 10:22:30 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at lxmtout2.gsi.de Received: from lxmtout2.gsi.de ([127.0.0.1]) by localhost (lxmtout2.gsi.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id e029yilH-D9w; Tue, 21 Mar 2023 10:22:30 +0100 (CET) Received: from srvEX6.campus.gsi.de (unknown [10.10.4.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lxmtout2.gsi.de (Postfix) with ESMTPS id 0A094203E7FC; Tue, 21 Mar 2023 10:22:30 +0100 (CET) Received: from minbar.localnet (140.181.3.12) by srvEX6.campus.gsi.de (10.10.4.96) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Tue, 21 Mar 2023 10:22:29 +0100 To: <gcc-patches@gcc.gnu.org>, <libstdc++@gcc.gnu.org> Subject: [PATCH 0/2] Make std::experimental::simd (more) usable with Clang Date: Tue, 21 Mar 2023 10:22:29 +0100 Message-ID: <6895974.e9J7NaK4W3@minbar> Organization: GSI Helmholtz Centre for Heavy Ion Research MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="UTF-8" X-Originating-IP: [140.181.3.12] X-ClientProxiedBy: srvEX7.Campus.gsi.de (10.10.4.97) To srvEX6.campus.gsi.de (10.10.4.96) X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, BODY_8BITS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: Matthias Kretz via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Matthias Kretz <m.kretz@gsi.de> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760968693270759266?= X-GMAIL-MSGID: =?utf-8?q?1760968693270759266?= |
Series |
Make std::experimental::simd (more) usable with Clang
|
|
Message
Matthias Kretz
March 21, 2023, 9:22 a.m. UTC
Up to now, compiling std::experimental::simd with Clang would lead to wrong code, not compiling, or ICEs. After these patches I hope it's only ICEs. Tested on x86_64-pc-linux-gnu. Matthias Kretz (2): libstdc++: Fix simd test compilation with Clang libstdc++: Fix simd compilation with Clang .../include/experimental/bits/simd_detail.h | 2 +- .../include/experimental/bits/simd_x86.h | 59 +++++++++++++++++-- .../experimental/simd/tests/operators.cc | 9 ++- 3 files changed, 64 insertions(+), 6 deletions(-)