From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS17314 8.43.84.0/22 X-Spam-Status: No, score=-2.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_REPLYTO_END_DIGIT, HK_RANDOM_REPLYTO,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI,RDNS_DYNAMIC, SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=no autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 7CB3B1F51E for ; Wed, 28 Sep 2022 19:10:17 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="LuWrWrMy"; dkim-atps=neutral Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7B91B3857C4A for ; Wed, 28 Sep 2022 19:10:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7B91B3857C4A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1664392215; bh=hSG96vKjVQOqRuCXgEsGUcGYLNeTRsrIzVydLRGUTYY=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=LuWrWrMyg4ayNyYqore/VGK6oPtxPNW9uTrYZagOdQj0yf5ASbj2Co8e9GJX2IuR5 oNAnC21VlIBpZ6s9eF6N0KR4Yvjpr3freZNP3PByUXC26ZA6fqJ7g5K/JX4O9zp6KN Zee0ekGYgOh+XEKPV3+88U214VbkVe2QObACtdyc= Received: from mail-oa1-x2b.google.com (mail-oa1-x2b.google.com [IPv6:2001:4860:4864:20::2b]) by sourceware.org (Postfix) with ESMTPS id 25AF13858016; Wed, 28 Sep 2022 19:09:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 25AF13858016 Received: by mail-oa1-x2b.google.com with SMTP id 586e51a60fabf-1318106fe2cso7357358fac.13; Wed, 28 Sep 2022 12:09:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=hSG96vKjVQOqRuCXgEsGUcGYLNeTRsrIzVydLRGUTYY=; b=5pSXi+xUXxIwELGbRmAZYXIJcGSlhA6dK79LXF5FQ2RsPWeB64Bo5EG3Y/wwuy4uKp VAdB31EqVAvGfCy80TS1B2+w0efQWf3slMkyJSatpXudTo4drfP1N8rc/nwRg5lJoFGL 3ucX5fy8VwAs1cLvazBme96sH9z7UwRZaVq1Iua4gBPovSBHnkHGWAJhQsV57kaNyyf7 xZX6OJZUKN0a9joUXHB4zg9bOIsJJW0u9Vm4aU2Af4e1HKNM/s94KBYJDjcn7m53S8ro wJ2PnrJgSrrhbpPQgRIlKOFxq1xda5dKN9kaBdyLLV3ifeupEQk6u/8onu9prlTRGCzq tSAg== X-Gm-Message-State: ACrzQf2dLWq++P51s8HkYvkjI2I2QMY4grvHV9IJzQ68oLnLXa2Zi8br YTKxvtLHKeKcp8XP0SLLb5npo3zHunsOIi1u2qwSTAIDywo= X-Google-Smtp-Source: AMsMyM6U3uPxu0jOwHHPVN/Mdh5w32KT7UHGk3OA9fzlZ4d/BCZFl+F1xTU3/Ej5DxzCQd2j884wFvjakWr6sfxL9ys= X-Received: by 2002:a05:6871:820:b0:12d:95b0:47cc with SMTP id q32-20020a056871082000b0012d95b047ccmr6416281oap.154.1664392195208; Wed, 28 Sep 2022 12:09:55 -0700 (PDT) MIME-Version: 1.0 References: <20210419233607.916848-1-goldstein.w.n@gmail.com> <20210419233607.916848-2-goldstein.w.n@gmail.com> In-Reply-To: Date: Wed, 28 Sep 2022 12:09:19 -0700 Message-ID: Subject: Re: [PATCH v5 2/2] x86: Optimize strlen-avx2.S To: "H.J. Lu" Content-Type: text/plain; charset="UTF-8" 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: , From: Sunil Pandey via Libc-alpha Reply-To: Sunil Pandey Cc: GNU C Library , Libc-stable Mailing List Errors-To: libc-alpha-bounces+e=80x24.org@sourceware.org Sender: "Libc-alpha" On Wed, Sep 28, 2022 at 11:24 AM H.J. Lu wrote: > > On Wed, Sep 28, 2022 at 6:55 AM Sunil Pandey wrote: > > > > Attached patch fixes BZ# 29611. > > > > I would like to backport it to 2.32,2.31,2.30,2.29 and 2.29. Let me know > > if there is any objection. > > It doesn't fully fix BZ #29611. Like Noah mentioned, we need to add > BMI2 check to ifunc-impl-list.c for all functions which use "ifunc-avx2.h". > > > H.J. Pulling up corresponding patches are extremely difficult as they are not modular. I can modify existing patches (as posted on bug report) to incorporate ifunc-impl-list.c functionality. If it is OK? For backporting small incremental changes are preferred. Single monolithic patch makes backporting extremely difficult, if not impossible.