Home | History | Annotate | Download | only in x64

Lines Matching refs:CPUID

73   Label cpuid, done;
82 // If we can modify bit 21 of the EFLAGS register, then CPUID is supported.
91 __ xor_(rax, rdx); // Different if CPUID is supported.
92 __ j(not_zero, &cpuid);
94 // CPUID not supported. Clear the supported features in rax.
98 // Invoke CPUID with 1 in eax to get feature information in
99 // ecx:edx. Temporarily enable CPUID support because we know it's
101 __ bind(&cpuid);
103 supported_ = kDefaultCpuFeatures | (1 << CPUID);
104 { Scope fscope(CPUID);
105 __ cpuid();
111 // Get the sahf supported flag, from CPUID(0x80000001)
113 __ cpuid();
118 // rax = (rcx & 1) | (rdi & ~1) | (1 << CPUID).
124 __ or_(rax, Immediate(1 << CPUID));
145 ASSERT(IsSupported(CPUID));
1013 void Assembler::cpuid() {
1014 ASSERT(CpuFeatures::IsEnabled(CPUID));
2498 // in 64-bit mode. Test CpuID.