From 3552daa7ac08c8dd2fc59393fc57e0b4e7aec94e Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 19 Aug 2015 04:27:04 -0700 Subject: Use x86-64 cacheinfo.c and sysconf.c for x86 Since _dl_x86_cpu_features is always available, we can use x86-64 cacheinfo.c and sysconf.c for both i386 and x86-64. * sysdeps/i386/i686/Makefile [$(subdir) == string] (sysdep_routines): Moved to ... * sysdeps/i386/Makefile: Here. * sysdeps/i386/i686/cacheinfo.c: Moved to ... * sysdeps/i386/cacheinfo.c: Here. * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed. * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise. * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ... * sysdeps/unix/sysv/linux/x86/sysconf.c: Here. --- sysdeps/i386/cacheinfo.c | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 sysdeps/i386/cacheinfo.c (limited to 'sysdeps/i386/cacheinfo.c') diff --git a/sysdeps/i386/cacheinfo.c b/sysdeps/i386/cacheinfo.c new file mode 100644 index 0000000..0b50c6d --- /dev/null +++ b/sysdeps/i386/cacheinfo.c @@ -0,0 +1,3 @@ +#define DISABLE_PREFETCHW + +#include -- cgit v1.1