From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ACB4B3858407; Mon, 3 Oct 2022 21:56:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ACB4B3858407 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1664834177; bh=Ip1y7ld624G6MMIQjiOJt+ALUj8uLce36rwT++AaaP8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qn8qTSD1pzwYsfWrI+f/KnTLPIECVStxpkjrYS/I+go/Cz5Suz+bmsvyMRUmYlWAF 1a3Dpne8knV2ekR1Z59C8j4SL0M269W44JH6j1aq9Hzel1OEt4HmJSmOXd90fNW9Wu 5ybsjx2YaUhpeZvhsIdUNfWS3Sv1cWq5PENwvxVY= 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:56:17 +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 #51 from cvs-commit at gcc dot gnu.org --- The release/2.35/master branch has been updated by Aurelien Jarno : https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3D02aa1f4a5b6955f2cb3= 84daa4e520d9c8078a078 commit 02aa1f4a5b6955f2cb384daa4e520d9c8078a078 Author: Aurelien Jarno Date: Mon Oct 3 23:16:46 2022 +0200 x86-64: Require BMI2 and LZCNT for AVX2 memrchr implementation The AVX2 memrchr implementation uses the 'shlxl' instruction, which belongs to the BMI2 CPU feature and uses the 'lzcnt' instruction, which belongs to the LZCNT CPU feature. Fixes: af5306a735eb ("x86: Optimize memrchr-avx2.S") Partially resolves: BZ #29611 Reviewed-by: Noah Goldstein (cherry picked from commit 3c0c78afabfed4b6fc161c159e628fbf14ff370b) --- Comment #52 from cvs-commit at gcc dot gnu.org --- The release/2.35/master branch has been updated by Aurelien Jarno : https://sourceware.org/git/gitweb.cgi?p=3Dglibc.git;h=3D20152a849b34abe83c7= 02b27b7276c96b191b644 commit 20152a849b34abe83c702b27b7276c96b191b644 Author: Aurelien Jarno Date: Mon Oct 3 23:16:46 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 (cherry picked from commit 7e8283170c5d6805b609a040801d819e362a6292) --=20 You are receiving this mail because: You are on the CC list for the bug.=