summary refs log tree commit diff
path: root/sysdeps/i386
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-07-11 09:04:34 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-07-11 09:34:03 -0700
commit9016b6f3893789ddfbd978aa572b46b3d3ce762f (patch)
treec810efbead39f0efb54e7e79e4960e84c7718527 /sysdeps/i386
parent758caf37366c3bebd349cd3107341dbfd761189a (diff)
downloadglibc-9016b6f3893789ddfbd978aa572b46b3d3ce762f.tar.gz
glibc-9016b6f3893789ddfbd978aa572b46b3d3ce762f.tar.xz
glibc-9016b6f3893789ddfbd978aa572b46b3d3ce762f.zip
x86: Remove the unused __x86_prefetchw
Since

commit c867597bff2562180a18da4b8dba89d24e8b65c4
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Jun 8 13:57:50 2016 -0700

    X86-64: Remove previous default/SSE2/AVX2 memcpy/memmove

removed the only usage of __x86_prefetchw, we can remove the unused
__x86_prefetchw.
Diffstat (limited to 'sysdeps/i386')
-rw-r--r--sysdeps/i386/Makefile4
-rw-r--r--sysdeps/i386/cacheinfo.c3
2 files changed, 0 insertions, 7 deletions
diff --git a/sysdeps/i386/Makefile b/sysdeps/i386/Makefile
index b9b1367f60..a2e8c0b128 100644
--- a/sysdeps/i386/Makefile
+++ b/sysdeps/i386/Makefile
@@ -13,10 +13,6 @@ ifeq ($(subdir),math)
 CFLAGS-e_gamma_r.c += -DMATH_SET_BOTH_ROUNDING_MODES
 endif
 
-ifeq ($(subdir),string)
-sysdep_routines += cacheinfo
-endif
-
 ifeq ($(subdir),gmon)
 sysdep_routines += i386-mcount
 endif
diff --git a/sysdeps/i386/cacheinfo.c b/sysdeps/i386/cacheinfo.c
deleted file mode 100644
index f15fe0779a..0000000000
--- a/sysdeps/i386/cacheinfo.c
+++ /dev/null
@@ -1,3 +0,0 @@
-#define DISABLE_PREFETCHW
-
-#include <sysdeps/x86/cacheinfo.c>