summaryrefslogtreecommitdiffstats
path: root/source/a/coreutils/coreutils.wc.noavx2.diff
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2023-08-29 18:55:59 +0000
committer Eric Hameleers <alien@slackware.com>2023-08-29 21:29:22 +0200
commit38c180f03785251a6371717428ee78f64ae64d50 (patch)
tree4e9b0d2216b0fd8ff7c45bb20de224a2cf6e56bd /source/a/coreutils/coreutils.wc.noavx2.diff
parent568c271aef987a6cc0bdd7e8d61e9b268d96ffa5 (diff)
downloadcurrent-7d0c7e440e782aa688b1769413f163fac65a05c5.tar.gz
current-7d0c7e440e782aa688b1769413f163fac65a05c5.tar.xz
Tue Aug 29 18:55:59 UTC 202320230829185559
a/coreutils-9.4-x86_64-1.txz: Upgraded. d/cbindgen-0.25.0-x86_64-1.txz: Upgraded. l/ffmpeg-5.1.3-x86_64-2.txz: Rebuilt. Patched and recompiled against vulkan-sdk-1.3.250.0. Thanks to lucabon. l/pipewire-0.3.79-x86_64-1.txz: Upgraded. xfce/xfce4-whiskermenu-plugin-2.8.0-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/a/coreutils/coreutils.wc.noavx2.diff')
-rw-r--r--source/a/coreutils/coreutils.wc.noavx2.diff27
1 files changed, 10 insertions, 17 deletions
diff --git a/source/a/coreutils/coreutils.wc.noavx2.diff b/source/a/coreutils/coreutils.wc.noavx2.diff
index 605757992..ccae18bb8 100644
--- a/source/a/coreutils/coreutils.wc.noavx2.diff
+++ b/source/a/coreutils/coreutils.wc.noavx2.diff
@@ -1,18 +1,11 @@
---- ./src/wc.c.orig 2023-04-10 05:14:08.000000000 -0500
-+++ ./src/wc.c 2023-08-26 14:22:10.058092456 -0500
-@@ -174,14 +174,7 @@
-
- if (avx_enabled)
- {
-- eax = ebx = ecx = edx = 0;
-- if (! __get_cpuid_count (7, 0, &eax, &ebx, &ecx, &edx))
-- getcpuid_ok = false;
-- else
-- {
-- if (! (ebx & bit_AVX2))
-- avx_enabled = false; /* Hardware doesn't support it. */
-- }
-+ avx_enabled = false; /* Never use AVX2. */
- }
-
+--- ./src/wc.c.orig 2023-08-29 06:39:27.000000000 -0500
++++ ./src/wc.c 2023-08-29 13:24:53.642035314 -0500
+@@ -147,7 +147,7 @@
+ static bool
+ avx2_supported (void)
+ {
+- bool avx_enabled = 0 < __builtin_cpu_supports ("avx2");
++ bool avx_enabled = 0;
+ if (debug)
+ error (0, 0, (avx_enabled