From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua1-x934.google.com (mail-ua1-x934.google.com [IPv6:2607:f8b0:4864:20::934]) by sourceware.org (Postfix) with ESMTPS id 4ADEC3858D28; Wed, 27 Apr 2022 23:48:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 4ADEC3858D28 Received: by mail-ua1-x934.google.com with SMTP id u19so1171581uaw.11; Wed, 27 Apr 2022 16:48:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=z/qw0RW4UMGcKTfsKIwn9a9F2TZ7afmMJLwzLMRgDjY=; b=jIIveH39Va4MnkHD1G0qvmIruRabemjo6l7mVEwzrBT3lt8d/WspAdfj40UIa0I5pk tJOpJ9yWqXZPt5XopIdNn8Q97uLMv9UEk52RzvoB8a8p/PycKwPO42k5AumgDEre3+OR ILT0MBrm8a+AUi0FZf6GFzvTkyGohD13z/s4SyOeCV8FkyR2ifgizAbSDpcHfwnSfcBr S5C8YPj63HnpkNbA/I5osn8uaLdvsrL0Au0YYFjWZsz422vw88WMESP/W7sP6smHJBYd YATD4/3JBdKDFtxAW1pxaHgqF/OS9AsZrFc+FGihKm6+e9rveZpwmJsfdrpYKbKTi4Iv qUKw== X-Gm-Message-State: AOAM532ts7QUMZHlI5v2gXA4VvsYviLxRDlhSr3muTEB9MXyjXQ1nrsi +mxkh6+OphRZ7gyQ2ersuZjiNh/0hA2tOzOnpw34r34fSRo= X-Google-Smtp-Source: ABdhPJzOToytME6AhTkbukb9Lj63ryLpt5c1mzD1uizu/HX8VYLyGtWBMO2EwYnn29huKMIIy6rzwRh8BFEES/GB2gY= X-Received: by 2002:ab0:6cb9:0:b0:362:8195:3b83 with SMTP id j25-20020ab06cb9000000b0036281953b83mr6644031uaa.26.1651103320734; Wed, 27 Apr 2022 16:48:40 -0700 (PDT) MIME-Version: 1.0 References: <20210419175136.2495152-1-hjl.tools@gmail.com> <874kg22m2a.fsf@oldenburg.str.redhat.com> In-Reply-To: <874kg22m2a.fsf@oldenburg.str.redhat.com> From: Sunil Pandey Date: Wed, 27 Apr 2022 16:48:04 -0700 Message-ID: Subject: Re: [PATCH] x86-64: Require BMI2 for strchr-avx2.S To: Florian Weimer , libc-stable@sourceware.org Cc: "H.J. Lu via Libc-alpha" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HK_RANDOM_ENVFROM, HK_RANDOM_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no 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-stable@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-stable mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2022 23:48:42 -0000 On Mon, Apr 19, 2021 at 11:50 AM Florian Weimer via Libc-alpha wrote: > > * H. J. Lu via Libc-alpha: > > > Since strchr-avx2.S updated by > > > > commit 1f745ecc2109890886b161d4791e1406fdfc29b8 > > Author: noah > > Date: Wed Feb 3 00:38:59 2021 -0500 > > > > x86-64: Refactor and improve performance of strchr-avx2.S > > > > uses sarx: > > > > c4 e2 72 f7 c0 sarx %ecx,%eax,%eax > > > > for strchr-avx2 family functions, require BMI2 in ifunc-impl-list.c and > > ifunc-avx2.h. > > Seems reasonable, thanks. > > Florian > I would like to backport this patch to release branches. Any comments or objections? --Sunil