From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by sourceware.org (Postfix) with ESMTPS id 9EF2B3858D20 for ; Tue, 15 Feb 2022 11:11:48 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9EF2B3858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nefkom.net Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4JydhM5GMMz1r4Hg; Tue, 15 Feb 2022 12:11:47 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4JydhM4qzTz1qqkD; Tue, 15 Feb 2022 12:11:47 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id XDjn-Tqo-LHL; Tue, 15 Feb 2022 12:11:46 +0100 (CET) X-Auth-Info: IjBBYhSJIZF38cr+tRnce29st/iW1UxXg+LXXhmt7eFVeGaVkx7jIOZg9TioJufd Received: from igel.home (ppp-46-244-168-73.dynamic.mnet-online.de [46.244.168.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Tue, 15 Feb 2022 12:11:46 +0100 (CET) Received: by igel.home (Postfix, from userid 1000) id 924162C3731; Tue, 15 Feb 2022 12:11:45 +0100 (CET) From: Andreas Schwab To: "H.J. Lu" Cc: Sunil K Pandey , Noah Goldstein via Libc-alpha , Noah Goldstein Subject: Re: [PATCH v3 5/7] x86: Optimize strcmp-avx2.S References: <20220109122946.2754917-1-goldstein.w.n@gmail.com> <20220110213540.1258344-1-goldstein.w.n@gmail.com> <20220110213540.1258344-5-goldstein.w.n@gmail.com> <87ilthv8s9.fsf@igel.home> <87y22dtg19.fsf@igel.home> <87tud1tf5d.fsf@igel.home> X-Yow: Make me look like LINDA RONSTADT again!! Date: Tue, 15 Feb 2022 12:11:45 +0100 In-Reply-To: (H. J. Lu's message of "Mon, 14 Feb 2022 13:10:14 -0800") Message-ID: <87tud0mlji.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org 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: Tue, 15 Feb 2022 11:11:49 -0000 On Feb 14 2022, H.J. Lu wrote: > Andreas, I need your help to create a testcase. You > can build a special glibc and use it to build riscv64 glibc. > In the special glibc, you compare AVX2 strcmp result > against SSE2 strcmp. If they don't match, do > > asm ("hlt") I tried https://build.opensuse.org/package/view_file/home:Andreas_Schwab:glibc:test/glibc/strcmp-avx2_w.patch but that never triggers. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."