summaryrefslogtreecommitdiffstats
path: root/source/a/coreutils/coreutils.wc.noavx2.diff
diff options
context:
space:
mode:
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