From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id 96FAD386C5A0 for ; Thu, 30 Jun 2022 07:47:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 96FAD386C5A0 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 271CD21C60; Thu, 30 Jun 2022 07:47:36 +0000 (UTC) Received: from hawking.suse.de (unknown [10.168.4.11]) by relay2.suse.de (Postfix) with ESMTP id 210D62C141; Thu, 30 Jun 2022 07:47:36 +0000 (UTC) Received: by hawking.suse.de (Postfix, from userid 17005) id 0E0CF444D70; Thu, 30 Jun 2022 09:47:36 +0200 (CEST) From: Andreas Schwab To: Noah Goldstein via Libc-alpha Subject: Re: [PATCH v6 1/2] x86: Add comment explaining no Slow_SSE4_2 check in ifunc-sse4_2 References: <20220628152717.17838-1-goldstein.w.n@gmail.com> <20220630034432.3749620-1-goldstein.w.n@gmail.com> X-Yow: PEGGY FLEMING is stealing BASKET BALLS to feed the babies in VERMONT. Date: Thu, 30 Jun 2022 09:47:36 +0200 In-Reply-To: <20220630034432.3749620-1-goldstein.w.n@gmail.com> (Noah Goldstein via Libc-alpha's message of "Wed, 29 Jun 2022 20:44:31 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-8.7 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_NUMSUBJECT, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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: 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: Thu, 30 Jun 2022 07:47:38 -0000 On Jun 29 2022, Noah Goldstein via Libc-alpha wrote: > diff --git a/sysdeps/x86_64/multiarch/ifunc-sse4_2.h b/sysdeps/x86_64/multiarch/ifunc-sse4_2.h > index ee36525bcf..4eb9cca7f0 100644 > --- a/sysdeps/x86_64/multiarch/ifunc-sse4_2.h > +++ b/sysdeps/x86_64/multiarch/ifunc-sse4_2.h > @@ -27,6 +27,10 @@ IFUNC_SELECTOR (void) > { > const struct cpu_features* cpu_features = __get_cpu_features (); > > + /* This function uses slow sse4.2 instructions (pcmpstri) but since > + there is no other optimized implementation keep using. If an I think there is something missing at the end of the sentence. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different."