From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 929F0385C40F; Mon, 3 Oct 2022 21:47:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 929F0385C40F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1664833645; bh=m+Hn7xd9f90iyiyi7wJvFkgX7zrjBImKQcTf5tevqRw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Qurg9OwPMRsDb8xjNGnEy4thlD1MnWgpB+QUilLfBSU5TOb6AQSOjJJLK1/Fbgxn2 lY7sEPfauIrr5IBbveEN5qUxHFlRYT7ugbnnRARYtIKopGKQyqvY4/0/uPmPGxyqJU vjrEY8xt8b6FVnjfHi8r0IIqRASwU5KPvEELjXDY= From: "cvs-commit at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug string/29611] Optimized AVX2 string functions unconditionally use BMI2 instructions Date: Mon, 03 Oct 2022 21:47:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: string X-Bugzilla-Version: 2.31 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: REOPENED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: goldstein.w.n at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29611 --- Comment #38 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Aurelien Jarno : https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3D7e8283170c5d6805b60= 9a040801d819e362a6292 commit 7e8283170c5d6805b609a040801d819e362a6292 Author: Aurelien Jarno Date: Mon Oct 3 23:46:11 2022 +0200 x86-64: Require BMI1/BMI2 for AVX2 strrchr and wcsrchr implementations The AVX2 strrchr and wcsrchr implementation uses the 'blsmsk' instruction which belongs to the BMI1 CPU feature and the 'shrx' instruction, which belongs to the BMI2 CPU feature. Fixes: df7e295d18ff ("x86: Optimize {str|wcs}rchr-avx2") Partially resolves: BZ #29611 Reviewed-by: Noah Goldstein --=20 You are receiving this mail because: You are on the CC list for the bug.=