[Midnightbsd-cvs] src: i386/i386: add CPUID bits to ident phenom processor There are

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat May 16 14:38:52 EDT 2009


Log Message:
-----------
add CPUID bits to ident phenom processor

There are several new CPUIDs to recognize AMD Extended Features, ECX 07FFh for Phenom processor.
According to [1], they are:

Bit 0: LAHF/SAHF
Bit 1: CMP
Bit 2: SVM (Secure Virtual Mode)
Bit 3: APIC
Bit 4: MOV CR8
*Bit 5: Advanced Bit Manipulation (LZCNT)
*Bit 6: SSE4A (EXTRQ, INSERTQ, MOVNTSS, MOVNTSD)
*Bit 7: Misalign SSE
Bit 8: 3DNow! (PREFETCH и PREFTECHW)
*Bit 9: OS Visible Workaround
*Bit 10: Instruction Based Sampling

* - missing bits in amd64/identcpu.c
[1]http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/31116.pdf

Based on patch by pluknet for FreeBSD

Modified Files:
--------------
    src/sys/amd64/amd64:
        identcpu.c (r1.4 -> r1.5)
        (http://cvsweb.midnightbsd.org/src/sys/amd64/amd64/identcpu.c?r1=1.4&r2=1.5)
    src/sys/amd64/include:
        specialreg.h (r1.3 -> r1.4)
        (http://cvsweb.midnightbsd.org/src/sys/amd64/include/specialreg.h?r1=1.3&r2=1.4)
    src/sys/i386/i386:
        identcpu.c (r1.5 -> r1.6)
        (http://cvsweb.midnightbsd.org/src/sys/i386/i386/identcpu.c?r1=1.5&r2=1.6)
    src/sys/i386/include:
        specialreg.h (r1.3 -> r1.4)
        (http://cvsweb.midnightbsd.org/src/sys/i386/include/specialreg.h?r1=1.3&r2=1.4)


More information about the Midnightbsd-cvs mailing list