From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ZXSHCAS1.zhaoxin.com (ZXSHCAS1.zhaoxin.com [203.148.12.81]) by sourceware.org (Postfix) with ESMTPS id 2FC7A3858C2C for ; Mon, 28 Mar 2022 08:10:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2FC7A3858C2C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=zhaoxin.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=zhaoxin.com Received: from zxbjmbx1.zhaoxin.com (10.29.252.163) by ZXSHCAS1.zhaoxin.com (10.28.252.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.27; Mon, 28 Mar 2022 16:10:41 +0800 Received: from zxbjmbx2.zhaoxin.com (10.29.252.164) by zxbjmbx1.zhaoxin.com (10.29.252.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Mon, 28 Mar 2022 16:10:41 +0800 Received: from zxbjmbx2.zhaoxin.com ([fe80::4d77:9dba:64a8:8ec3]) by zxbjmbx2.zhaoxin.com ([fe80::4d77:9dba:64a8:8ec3%4]) with mapi id 15.01.2308.020; Mon, 28 Mar 2022 16:10:41 +0800 From: Mayshao-oc To: "goldstein.w.n@gmail.com" CC: GNU C Library , "H.J. Lu" , Florian Weimer , Carlos O'Donell , "Louis Qi(BJ-RD)" Subject: Re: [PATCH v1 3/6] x86: Remove mem{move|cpy}-ssse3 Thread-Topic: [PATCH v1 3/6] x86: Remove mem{move|cpy}-ssse3 Thread-Index: AQHYQnUckwokUFIBm0atnY/A3cw14w== Date: Mon, 28 Mar 2022 08:10:41 +0000 Message-ID: <89bb3f1942814671ae858dcef4b3b870@zhaoxin.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [222.128.104.110] MIME-Version: 1.0 X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, HTML_MESSAGE, KAM_DMARC_STATUS, KAM_NUMSUBJECT, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2022 08:10:49 -0000 On Fri, Mar 25, 2022 at 6:36 PM Noah Goldstein wr= ote: > With SSE2, SSE4.1, AVX2, and EVEX versions very few targets prefer > SSSE3. As a result its no longer with the code size cost. > --- > sysdeps/x86_64/multiarch/Makefile | 2 - > sysdeps/x86_64/multiarch/ifunc-impl-list.c | 15 - > sysdeps/x86_64/multiarch/ifunc-memmove.h | 18 +- > sysdeps/x86_64/multiarch/memcpy-ssse3.S | 3151 -------------------- > sysdeps/x86_64/multiarch/memmove-ssse3.S | 4 - > 5 files changed, 7 insertions(+), 3183 deletions(-) > delete mode 100644 sysdeps/x86_64/multiarch/memcpy-ssse3.S > delete mode 100644 sysdeps/x86_64/multiarch/memmove-ssse3.S On some platforms, such as Zhaoxin, the memcpy performance of SSSE3 is better than that of AVX2, and the current computer system has sufficient disk capacity and memory capacity. It is strongly recommended to keep the SSSE3 version. Best Regards, May Shao