about summary refs log tree commit diff
path: root/math/atest-exp.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-05-19 10:02:36 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-06-06 13:22:08 -0700
commit07f943915311f6f92e5a031911d32c5e7458bfd5 (patch)
tree95c4fa21b06e753fbbba12c41c87ac16c5066eb5 /math/atest-exp.c
parent201aebf739482fbb730d10eb7cf8335629bb4de4 (diff)
downloadglibc-07f943915311f6f92e5a031911d32c5e7458bfd5.tar.gz
glibc-07f943915311f6f92e5a031911d32c5e7458bfd5.tar.xz
glibc-07f943915311f6f92e5a031911d32c5e7458bfd5.zip
Correct Intel processor level type mask from CPUID
Intel CPUID with EAX == 11 returns:

ECX Bits 07 - 00: Level number. Same value in ECX input.
    Bits 15 - 08: Level type.
    ^^^^^^^^^^^^^^^^^^^^^^^^ This is level type.
    Bits 31 - 16: Reserved.

Intel processor level type mask should be 0xff00, not 0xff0.

	[BZ #20119]
	* sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
	processor level type mask for CPUID with EAX == 11.
Diffstat (limited to 'math/atest-exp.c')
0 files changed, 0 insertions, 0 deletions