Home
last modified time | relevance | path

Searched refs:fsw (Results 1 – 6 of 6) sorted by relevance

/arch/riscv/kvm/
Dvcpu_switch.S244 fsw f0, KVM_ARCH_FP_F_F0(a0)
245 fsw f1, KVM_ARCH_FP_F_F1(a0)
246 fsw f2, KVM_ARCH_FP_F_F2(a0)
247 fsw f3, KVM_ARCH_FP_F_F3(a0)
248 fsw f4, KVM_ARCH_FP_F_F4(a0)
249 fsw f5, KVM_ARCH_FP_F_F5(a0)
250 fsw f6, KVM_ARCH_FP_F_F6(a0)
251 fsw f7, KVM_ARCH_FP_F_F7(a0)
252 fsw f8, KVM_ARCH_FP_F_F8(a0)
253 fsw f9, KVM_ARCH_FP_F_F9(a0)
[all …]
/arch/x86/kernel/fpu/
Dinit.c59 u16 fsw, fcw; in fpu__probe_without_cpuid() local
61 fsw = fcw = 0xffff; in fpu__probe_without_cpuid()
67 asm volatile("fninit ; fnstsw %0 ; fnstcw %1" : "+m" (fsw), "+m" (fcw)); in fpu__probe_without_cpuid()
69 pr_info("x86/fpu: Probing for FPU: FSW=0x%04hx FCW=0x%04hx\n", fsw, fcw); in fpu__probe_without_cpuid()
71 return fsw == 0 && (fcw & 0x103f) == 0x003f; in fpu__probe_without_cpuid()
/arch/x86/boot/
Dcpuflags.c17 u16 fcw = -1, fsw = -1; in has_fpu() local
27 : "+m" (fsw), "+m" (fcw)); in has_fpu()
29 return fsw == 0 && (fcw & 0x103f) == 0x003f; in has_fpu()
/arch/x86/include/uapi/asm/
Dkvm.h172 __u16 fsw; member
/arch/x86/kvm/
Demulate.c1122 u16 fsw; in em_fnstsw() local
1128 asm volatile("fnstsw %0": "+m"(fsw)); in em_fnstsw()
1131 ctxt->dst.val = fsw; in em_fnstsw()
Dx86.c11770 fpu->fsw = fxsave->swd; in kvm_arch_vcpu_ioctl_get_fpu()
11794 fxsave->swd = fpu->fsw; in kvm_arch_vcpu_ioctl_set_fpu()