Searched refs:xcr0 (Results 1 - 4 of 4) sorted by relevance

/fuchsia/zircon/third_party/ulib/uboringssl/crypto/
H A Dcpu-intel.c230 uint64_t xcr0 = 0; local
233 xcr0 = OPENSSL_xgetbv(0);
236 if ((xcr0 & 6) != 6) {
249 if ((xcr0 & 0xe6) != 0xe6) {
/fuchsia/zircon/kernel/arch/x86/include/arch/x86/
H A Dvmx_state.h62 uint64_t xcr0; member in struct:HostState
87 uint64_t xcr0; member in struct:GuestState
/fuchsia/zircon/kernel/arch/x86/hypervisor/
H A Dvmexit.cpp239 zx_status_t status = compute_xsave_size(guest_state->xcr0, &xsave_size);
978 uint64_t xcr0 = (guest_state->rdx << 32) | (guest_state->rax & UINT32_MAX); local
979 if (~xcr0_bitmap & xcr0 ||
981 (xcr0 & X86_XSAVE_STATE_BIT_X87) != X86_XSAVE_STATE_BIT_X87 ||
983 (xcr0 & (X86_XSAVE_STATE_BIT_AVX | X86_XSAVE_STATE_BIT_SSE)) == X86_XSAVE_STATE_BIT_AVX)
986 guest_state->xcr0 = xcr0;
H A Dvcpu.cpp613 vmx_state->guest_state.xcr0 = X86_XSAVE_STATE_BIT_X87;
733 vmx_state_.host_state.xcr0 = x86_xgetbv(0);
734 x86_xsetbv(0, vmx_state_.guest_state.xcr0);
746 vmx_state_.guest_state.xcr0 = x86_xgetbv(0);
747 x86_xsetbv(0, vmx_state_.host_state.xcr0);

Completed in 96 milliseconds