From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lxmtout1.gsi.de (lxmtout1.gsi.de [140.181.3.111]) by sourceware.org (Postfix) with ESMTPS id 4D88C394FC16; Tue, 8 Jun 2021 12:11:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4D88C394FC16 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gsi.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gsi.de Received: from localhost (localhost [127.0.0.1]) by lxmtout1.gsi.de (Postfix) with ESMTP id 5C8592050D02; Tue, 8 Jun 2021 14:11:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at lxmtout1.gsi.de Received: from lxmtout1.gsi.de ([127.0.0.1]) by localhost (lxmtout1.gsi.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 6zF8kUw2GLMo; Tue, 8 Jun 2021 14:11:40 +0200 (CEST) Received: from srvex3.campus.gsi.de (unknown [10.10.4.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by lxmtout1.gsi.de (Postfix) with ESMTPS id 438C42050D00; Tue, 8 Jun 2021 14:11:40 +0200 (CEST) Received: from excalibur.localnet (140.181.3.12) by srvex3.campus.gsi.de (10.10.4.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2242.10; Tue, 8 Jun 2021 14:11:39 +0200 From: Matthias Kretz To: , Subject: [PATCH 05/11] libstdc++: Remove incorrect fabs overload Date: Tue, 8 Jun 2021 14:11:39 +0200 Message-ID: <3002364.OxmWWEHjG1@excalibur> Organization: GSI Helmholtzzentrum =?UTF-8?B?ZsO8cg==?= Schwerionenforschung In-Reply-To: <270527782.u9WJ3AIrlG@excalibur> References: <270527782.u9WJ3AIrlG@excalibur> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="nextPart1854994.azUnuu2Gft" Content-Transfer-Encoding: 7Bit X-Originating-IP: [140.181.3.12] X-ClientProxiedBy: srvex3.Campus.gsi.de (10.10.4.16) To srvex3.campus.gsi.de (10.10.4.16) X-Spam-Status: No, score=-10.3 required=5.0 tests=BAYES_00, BODY_8BITS, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP, URIBL_SBL, URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2021 12:11:42 -0000 --nextPart1854994.azUnuu2Gft Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="UTF-8" CgpGcm9tOiBNYXR0aGlhcyBLcmV0eiA8a3JldHpAa2RlLm9yZz4KCmZhYnMoaW50KSByZXR1cm5z IGRvdWJsZSwgdGhpcyBvbmUgZGlkbid0LiBUaGlzIG92ZXJsb2FkIGlzIG5vdApzcGVjaWZpZWQg aW4gdGhlIFBhcmFsbGVsaXNtIFRTIDIuIEFsc28gcmVtb3ZlIHRoZSBjb21tZW50IGFib3V0IGxh YnMKYW5kIGxsYWJzOiBpdCBkb2Vzbid0IGJlbG9uZyBoZXJlLgoKU2lnbmVkLW9mZi1ieTogTWF0 dGhpYXMgS3JldHogPG0ua3JldHpAZ3NpLmRlPgoKbGlic3RkYysrLXYzL0NoYW5nZUxvZzoKCgkq IGluY2x1ZGUvZXhwZXJpbWVudGFsL2JpdHMvc2ltZF9tYXRoLmggKGZhYnMpOiBSZW1vdmUKCWZh YnMoc2ltZDxpbnRlZ3JhbD4pIG92ZXJsb2FkLgotLS0KIC4uLi9pbmNsdWRlL2V4cGVyaW1lbnRh bC9iaXRzL3NpbWRfbWF0aC5oICAgICAgICB8IDE2IC0tLS0tLS0tLS0tLS0tLS0KIDEgZmlsZSBj aGFuZ2VkLCAxNiBkZWxldGlvbnMoLSkKCgotLQrilIDilIDilIDilIDilIDilIDilIDilIDilIDi lIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDi lIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDi lIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDi lIDilIDilIDilIDilIDilIDilIDilIAKIERyLiBNYXR0aGlhcyBLcmV0eiAgICAgICAgICAgICAg ICAgICAgICAgICAgIGh0dHBzOi8vbWF0dGtyZXR6LmdpdGh1Yi5pbwogR1NJIEhlbG1ob2x0eiBD ZW50cmUgZm9yIEhlYXZ5IElvbiBSZXNlYXJjaCAgICAgICAgICAgICAgIGh0dHBzOi8vZ3NpLmRl CiBzdGQ6OmV4cGVyaW1lbnRhbDo6c2ltZCAgICAgICAgICAgICAgaHR0cHM6Ly9naXRodWIuY29t L1ZjRGV2ZWwvc3RkLXNpbWQK4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA 4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA 4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA 4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA4pSA 4pSA4pSA4pSA4pSA --nextPart1854994.azUnuu2Gft Content-Disposition: inline; filename="0005-libstdc-Remove-incorrect-fabs-overload.patch" Content-Transfer-Encoding: 7Bit Content-Type: text/x-patch; charset="utf-8"; name="0005-libstdc-Remove-incorrect-fabs-overload.patch" diff --git a/libstdc++-v3/include/experimental/bits/simd_math.h b/libstdc++-v3/include/experimental/bits/simd_math.h index 3ade293fcbf..cff4371619d 100644 --- a/libstdc++-v3/include/experimental/bits/simd_math.h +++ b/libstdc++-v3/include/experimental/bits/simd_math.h @@ -863,22 +863,6 @@ template abs(const simd<_Tp, _Abi>& __x) { return {__private_init, _Abi::_SimdImpl::_S_abs(__data(__x))}; } -template - enable_if_t && is_signed_v<_Tp>, simd<_Tp, _Abi>> - fabs(const simd<_Tp, _Abi>& __x) - { return {__private_init, _Abi::_SimdImpl::_S_abs(__data(__x))}; } - -// the following are overloads for functions in and not covered by -// [parallel.simd.math]. I don't see much value in making them work, though -/* -template simd labs(const simd &__x) -{ return {__private_init, _Abi::_SimdImpl::abs(__data(__x))}; } - -template simd llabs(const simd -&__x) -{ return {__private_init, _Abi::_SimdImpl::abs(__data(__x))}; } -*/ - #define _GLIBCXX_SIMD_CVTING2(_NAME) \ template \ _GLIBCXX_SIMD_INTRINSIC simd<_Tp, _Abi> _NAME( \ --nextPart1854994.azUnuu2Gft--