This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Use x86-64 cacheinfo.c and sysconf.c for x86
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Mon, 17 Aug 2015 05:27:03 -0700
- Subject: Re: [PATCH] Use x86-64 cacheinfo.c and sysconf.c for x86
- Authentication-results: sourceware.org; auth=none
- References: <20150813115830 dot GA23243 at gmail dot com>
On Thu, Aug 13, 2015 at 4:58 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> Since _dl_x86_cpu_features is always available, we can use x86-64
> cacheinfo.c and sysconf.c for both i386 and x86-64.
>
> OK for master?
>
> H.J.
> ---
> * 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.
I will check it on Wednesday unless there is an objection.
--
H.J.