From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1601989-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D7BFF15808B for <garchives@archives.gentoo.org>; Mon, 19 Feb 2024 07:50:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 14CE1E2DA5; Mon, 19 Feb 2024 07:50:49 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id E8FC5E2DA5 for <gentoo-commits@lists.gentoo.org>; Mon, 19 Feb 2024 07:50:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 smtp.gentoo.org (Postfix) with ESMTPS id 00F813430BD for <gentoo-commits@lists.gentoo.org>; Mon, 19 Feb 2024 07:50:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 600C06F1 for <gentoo-commits@lists.gentoo.org>; Mon, 19 Feb 2024 07:50:46 +0000 (UTC) From: "Sam James" <sam@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org> Message-ID: <1708329009.10e9c22324657fb001096cc0f1eb7aaf762d2596.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/zlib-ng/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-libs/zlib-ng/zlib-ng-2.1.6-r1.ebuild sys-libs/zlib-ng/zlib-ng-2.1.6.ebuild X-VCS-Directories: sys-libs/zlib-ng/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 10e9c22324657fb001096cc0f1eb7aaf762d2596 X-VCS-Branch: master Date: Mon, 19 Feb 2024 07:50:46 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c19cbe09-f8c7-4a98-8456-1b69cce55166 X-Archives-Hash: befd6f9c6d2439367c21349809518df6 commit: 10e9c22324657fb001096cc0f1eb7aaf762d2596 Author: Sv. Lockal <lockalsash <AT> gmail <DOT> com> AuthorDate: Wed Feb 14 20:14:11 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Feb 19 07:50:09 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10e9c223 sys-libs/zlib-ng: support avx512_vnni and vpclmulqdq USE flags This gives 2.5x speedup for adler32, 4x speedup for crc32 over previous best flags. Bug: https://bugs.gentoo.org/908556 Signed-off-by: Sv. Lockal <lockalsash <AT> gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35327 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-libs/zlib-ng/{zlib-ng-2.1.6.ebuild => zlib-ng-2.1.6-r1.ebuild} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys-libs/zlib-ng/zlib-ng-2.1.6.ebuild b/sys-libs/zlib-ng/zlib-ng-2.1.6-r1.ebuild similarity index 92% rename from sys-libs/zlib-ng/zlib-ng-2.1.6.ebuild rename to sys-libs/zlib-ng/zlib-ng-2.1.6-r1.ebuild index 3dee5af08dc5..d9bf5f443d25 100644 --- a/sys-libs/zlib-ng/zlib-ng-2.1.6.ebuild +++ b/sys-libs/zlib-ng/zlib-ng-2.1.6-r1.ebuild @@ -17,7 +17,7 @@ SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc ~x86" CPU_USE=( - x86_{avx2,avx512f,sse2,ssse3,sse4_2,pclmul} + x86_{avx2,avx512f,avx512_vnni,sse2,ssse3,sse4_2,pclmul,vpclmulqdq} arm_{crc32,neon} ppc_{altivec,vsx2,vsx3} ) @@ -51,12 +51,12 @@ multilib_src_configure() { mycmakeargs+=( -DWITH_AVX2=$(usex cpu_flags_x86_avx2) -DWITH_AVX512=$(usex cpu_flags_x86_avx512f) - -DWITH_AVX512VNNI=OFF # TODO, see bug #908556 + -DWITH_AVX512VNNI=$(usex cpu_flags_x86_avx512_vnni) -DWITH_SSE2=$(usex cpu_flags_x86_sse2) -DWITH_SSSE3=$(usex cpu_flags_x86_ssse3) -DWITH_SSE42=$(usex cpu_flags_x86_sse4_2) -DWITH_PCLMULQDQ=$(usex cpu_flags_x86_pclmul) - -DWITH_VPCLMULQDQ=OFF # TODO, see bug #908556 + -DWITH_VPCLMULQDQ=$(usex cpu_flags_x86_vpclmulqdq) ) fi