]> sourceware.org Git - glibc.git/commit
Update family and model detection for AMD CPUs
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 30 Nov 2015 16:53:37 +0000 (08:53 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 30 Nov 2015 17:01:31 +0000 (09:01 -0800)
commit9627da32ec76600244e7723e99b9d4e27691f1ff
treec7e2715dc3aa3782eb482d20ac6053325c3d312e
parent5f75f6bdf830e66aa6bd6eef675dbdc144b771c6
Update family and model detection for AMD CPUs

AMD CPUs uses the similar encoding scheme for extended family and model
as Intel CPUs as shown in:

http://support.amd.com/TechDocs/25481.pdf

This patch updates get_common_indeces to get family and model for both
Intel and AMD CPUs when family == 0x0f.

[BZ #19214]
* sysdeps/x86/cpu-features.c (get_common_indeces): Add an
argument to return extended model.  Update family and model
with extended family and model when family == 0x0f.
(init_cpu_features): Updated.
ChangeLog
sysdeps/x86/cpu-features.c
This page took 0.039179 seconds and 5 git commands to generate.