• J
    cpu_x86: Use signature in CPU detection code · 5a9221b9
    Jiri Denemark 提交于
    Our current detection code uses just the number of CPU features which
    need to be added/removed from the CPU model to fully describe the CPUID
    data. The smallest number wins. But this may sometimes generate wrong
    results as one can see from the fixed test cases. This patch modifies
    the algorithm to prefer the CPU model with matching signature even if
    this model results in a longer list of additional features.
    Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
    5a9221b9
cpu_x86.c 68.2 KB