public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/golang] f43: Backport of popcnt for x86
@ 2026-10-20 20:46
0 siblings, 0 replies; only message in thread
From: @ 2026-10-20 20:46 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/golang
Branch : f43
Commit : 260b9167420c1170b5a518255c905dbe5eda807b
Author : Álex Sáez <asm@redhat.com>
Date : 2026-10-20T22:44:45+02:00
Stats : +12/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/golang/c/260b9167420c1170b5a518255c905dbe5eda807b?branch=f43
Log:
Backport of popcnt for x86
This should fixed the TestGoAMD64v1 failing test in 1.26.10
---
diff --git a/golang.spec b/golang.spec
index 478d3bd..45dd489 100644
--- a/golang.spec
+++ b/golang.spec
@@ -161,6 +161,8 @@ Patch5: 0005-Skip-TestCrashDumpsAllThreads.patch
Patch8: fix_cgo_panic-with-gcc15-in-368.patch
# Related to https://github.com/golang/go/issues/74476
Patch9: skip_lsan_tests.patch
+# Backport https://github.com/golang/go/commit/45929774c3d5c084cc478afba63c77cf67a68bd7
+Patch10: require-popcnt-for-gc-scan.patch
# Having documentation separate was broken
Obsoletes: %{name}-docs < 1.1-4
diff --git a/require-popcnt-for-gc-scan.patch b/require-popcnt-for-gc-scan.patch
new file mode 100644
index 0000000..4d3b2bb
--- /dev/null
+++ b/require-popcnt-for-gc-scan.patch
@@ -0,0 +1,10 @@
+diff --git a/src/internal/runtime/gc/scan/scan_amd64.go b/src/internal/runtime/gc/scan/scan_amd64.go
+--- a/src/internal/runtime/gc/scan/scan_amd64.go
++++ b/src/internal/runtime/gc/scan/scan_amd64.go
+@@ -39,4 +39,5 @@ var avx512ScanPackedReqsMet = cpu.X86.HasAVX512VL &&
+ cpu.X86.HasGFNI &&
+ cpu.X86.HasAVX512BITALG &&
+ cpu.X86.HasAVX512DQ && // for kmovb, see #79871
+- cpu.X86.HasAVX512VBMI
++ cpu.X86.HasAVX512VBMI &&
++ cpu.X86.HasPOPCNT
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-20 20:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-20 20:46 [rpms/golang] f43: Backport of popcnt for x86
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox