about summary refs log tree commit diff
path: root/posix
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-05-10 05:42:49 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-05-14 09:19:01 -0700
commit4292da19f08b9d5e804909232489622bee6a60e3 (patch)
treecb1ce5dd222b533113b65d75a039ef8e7d60d358 /posix
parent1fa001e37c3c62748b5ab00c30f9f3f0c7209286 (diff)
downloadglibc-hjl/ld.so/master.tar.gz
glibc-hjl/ld.so/master.tar.xz
glibc-hjl/ld.so/master.zip
X86: Add cache info to _dl_x86_cpu_features hjl/ld.so/master
This patch adds cache info to _dl_x86_cpu_features to allow a processor
to override cache info derived from CPUID.

Tested on x86 and x86-64.

	* sysdeps/x86/cacheinfo.c: Skip if not in libc.
	(init_cacheinfo): Use raw_data_size, raw_shared_size and
	shared_non_temporal_threshold from _dl_x86_cpu_features if
	not zero.
	* sysdeps/x86/cpu-features.h (cache_info): New.
	(cpu_features): Add cache.
Diffstat (limited to 'posix')
0 files changed, 0 insertions, 0 deletions