Searched refs:fx_state (Results 1 – 2 of 2) sorted by relevance
| /linux/arch/x86/hyperv/ |
| H A D | hv_vtl.c | 278 fxrstor(&vtl0->fx_state); in mshv_vtl_return_call() 280 fxsave(&vtl0->fx_state); in mshv_vtl_return_call()
|
| /linux/arch/x86/kvm/ |
| H A D | emulate.c | 3711 struct fxregs_state fx_state; in em_fxsave() local 3720 rc = asm_safe("fxsave %[fx]", , [fx] "+m"(fx_state)); in em_fxsave() 3727 return segmented_write_std(ctxt, ctxt->memop.addr.mem, &fx_state, in em_fxsave() 3738 static noinline int fxregs_fixup(struct fxregs_state *fx_state, in fxregs_fixup() argument 3745 memcpy((void *)fx_state + used_size, (void *)&fx_tmp + used_size, in fxregs_fixup() 3753 struct fxregs_state fx_state; in em_fxrstor() local 3762 rc = segmented_read_std(ctxt, ctxt->memop.addr.mem, &fx_state, size); in em_fxrstor() 3769 rc = fxregs_fixup(&fx_state, size); in em_fxrstor() 3774 if (fx_state.mxcsr >> 16) { in em_fxrstor() 3780 rc = asm_safe("fxrstor %[fx]", : [fx] "m"(fx_state)); in em_fxrstor()
|