Changeset 93515 in vbox for trunk/src/VBox/Runtime/testcase/tstRTInlineAsm.cpp
- Timestamp:
- Jan 31, 2022 10:17:19 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/testcase/tstRTInlineAsm.cpp
r93115 r93515 409 409 "Support: 0-%u\n", 410 410 &s.uEBX, &s.uEDX, &s.uECX, s.uEAX); 411 bool const fIntel = ASMIsIntelCpuEx(s.uEBX, s.uECX, s.uEDX);411 bool const fIntel = RTX86IsIntelCpu(s.uEBX, s.uECX, s.uEDX); 412 412 413 413 /* … … 427 427 "CLFLUSH Size: %d\n" 428 428 "Brand ID: %#04x\n", 429 (s.uEAX >> 8) & 0xf, (s.uEAX >> 20) & 0x7f, ASMGetCpuFamily(s.uEAX),430 (s.uEAX >> 4) & 0xf, (s.uEAX >> 16) & 0x0f, ASMGetCpuModel(s.uEAX, fIntel),431 ASMGetCpuStepping(s.uEAX),429 (s.uEAX >> 8) & 0xf, (s.uEAX >> 20) & 0x7f, RTX86GetCpuFamily(s.uEAX), 430 (s.uEAX >> 4) & 0xf, (s.uEAX >> 16) & 0x0f, RTX86GetCpuModel(s.uEAX, fIntel), 431 RTX86GetCpuStepping(s.uEAX), 432 432 (s.uEAX >> 12) & 0x3, s_apszTypes[(s.uEAX >> 12) & 0x3], 433 433 (s.uEBX >> 24) & 0xff, … … 558 558 "Stepping: %d\n" 559 559 "Brand ID: %#05x\n", 560 (s.uEAX >> 8) & 0xf, (s.uEAX >> 20) & 0x7f, ASMGetCpuFamily(s.uEAX),561 (s.uEAX >> 4) & 0xf, (s.uEAX >> 16) & 0x0f, ASMGetCpuModel(s.uEAX, fIntel),562 ASMGetCpuStepping(s.uEAX),560 (s.uEAX >> 8) & 0xf, (s.uEAX >> 20) & 0x7f, RTX86GetCpuFamily(s.uEAX), 561 (s.uEAX >> 4) & 0xf, (s.uEAX >> 16) & 0x0f, RTX86GetCpuModel(s.uEAX, fIntel), 562 RTX86GetCpuStepping(s.uEAX), 563 563 s.uEBX & 0xfff); 564 564 … … 2893 2893 uint32_t uAux; 2894 2894 if ( ASMHasCpuId() 2895 && ASMIsValidExtRange(ASMCpuId_EAX(0x80000000))2895 && RTX86IsValidExtRange(ASMCpuId_EAX(0x80000000)) 2896 2896 && (ASMCpuId_EDX(0x80000001) & X86_CPUID_EXT_FEATURE_EDX_RDTSCP) ) 2897 2897 {
Note:
See TracChangeset
for help on using the changeset viewer.