Searched refs:fx_state (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/arch/x86/kvm/ |
D | emulate.c | 3728 struct fxregs_state fx_state; in em_fxsave() local 3737 rc = asm_safe("fxsave %[fx]", , [fx] "+m"(fx_state)); in em_fxsave() 3744 return segmented_write_std(ctxt, ctxt->memop.addr.mem, &fx_state, in em_fxsave() 3755 static noinline int fxregs_fixup(struct fxregs_state *fx_state, in fxregs_fixup() argument 3762 memcpy((void *)fx_state + used_size, (void *)&fx_tmp + used_size, in fxregs_fixup() 3770 struct fxregs_state fx_state; in em_fxrstor() local 3779 rc = segmented_read_std(ctxt, ctxt->memop.addr.mem, &fx_state, size); in em_fxrstor() 3786 rc = fxregs_fixup(&fx_state, size); in em_fxrstor() 3791 if (fx_state.mxcsr >> 16) { in em_fxrstor() 3797 rc = asm_safe("fxrstor %[fx]", : [fx] "m"(fx_state)); in em_fxrstor()
|