Print this page
6116 FMT_CPUID_AMD_ECX is wrong

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/sys/x86_archext.h
          +++ new/usr/src/uts/intel/sys/x86_archext.h
↓ open down ↓ 191 lines elided ↑ open up ↑
 192  192  #define CPUID_AMD_ECX_3DNP      0x00000100      /* AMD: 3DNowPrefectch */
 193  193  #define CPUID_AMD_ECX_OSVW      0x00000200      /* AMD: OSVW */
 194  194  #define CPUID_AMD_ECX_IBS       0x00000400      /* AMD: IBS */
 195  195  #define CPUID_AMD_ECX_SSE5      0x00000800      /* AMD: SSE5 */
 196  196  #define CPUID_AMD_ECX_SKINIT    0x00001000      /* AMD: SKINIT */
 197  197  #define CPUID_AMD_ECX_WDT       0x00002000      /* AMD: WDT */
 198  198  #define CPUID_AMD_ECX_TOPOEXT   0x00400000      /* AMD: Topology Extensions */
 199  199  
 200  200  #define FMT_CPUID_AMD_ECX                                       \
 201  201          "\20"                                                   \
 202      -        "\22topoext"                                            \
 203      -        "\14wdt\13skinit\12sse5\11ibs\10osvw\93dnp\8mas"        \
      202 +        "\27topoext"                                            \
      203 +        "\16wdt\15skinit\14sse5\13ibs\12osvw\0113dnp\10mas"     \
 204  204          "\7sse4a\6lzcnt\5cr8d\3svm\2lcmplgcy\1ahf64"
 205  205  
 206  206  /*
 207  207   * Intel now seems to have claimed part of the "extended" function
 208  208   * space that we previously for non-Intel implementors to use.
 209  209   * More excitingly still, they've claimed bit 20 to mean LAHF/SAHF
 210  210   * is available in long mode i.e. what AMD indicate using bit 0.
 211  211   * On the other hand, everything else is labelled as reserved.
 212  212   */
 213  213  #define CPUID_INTC_ECX_AHF64    0x00100000      /* LAHF and SAHF in long mode */
↓ open down ↓ 664 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX