Lines Matching refs:fpu
651 struct mips_fpu_struct *fpu = &vcpu->arch.fpu; in kvm_mips_get_reg() local
681 v = get_fpr32(&fpu->fpr[idx], 0); in kvm_mips_get_reg()
683 v = get_fpr32(&fpu->fpr[idx & ~1], idx & 1); in kvm_mips_get_reg()
692 v = get_fpr64(&fpu->fpr[idx], 0); in kvm_mips_get_reg()
702 v = fpu->fcr31; in kvm_mips_get_reg()
715 vs[0] = get_fpr64(&fpu->fpr[idx], 0); in kvm_mips_get_reg()
716 vs[1] = get_fpr64(&fpu->fpr[idx], 1); in kvm_mips_get_reg()
719 vs[0] = get_fpr64(&fpu->fpr[idx], 1); in kvm_mips_get_reg()
720 vs[1] = get_fpr64(&fpu->fpr[idx], 0); in kvm_mips_get_reg()
731 v = fpu->msacsr; in kvm_mips_get_reg()
763 struct mips_fpu_struct *fpu = &vcpu->arch.fpu; in kvm_mips_set_reg() local
815 set_fpr32(&fpu->fpr[idx], 0, v); in kvm_mips_set_reg()
817 set_fpr32(&fpu->fpr[idx & ~1], idx & 1, v); in kvm_mips_set_reg()
826 set_fpr64(&fpu->fpr[idx], 0, v); in kvm_mips_set_reg()
836 fpu->fcr31 = v; in kvm_mips_set_reg()
846 set_fpr64(&fpu->fpr[idx], 0, vs[0]); in kvm_mips_set_reg()
847 set_fpr64(&fpu->fpr[idx], 1, vs[1]); in kvm_mips_set_reg()
850 set_fpr64(&fpu->fpr[idx], 1, vs[0]); in kvm_mips_set_reg()
851 set_fpr64(&fpu->fpr[idx], 0, vs[1]); in kvm_mips_set_reg()
862 fpu->msacsr = v; in kvm_mips_set_reg()
1016 int kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu) in kvm_arch_vcpu_ioctl_get_fpu() argument
1021 int kvm_arch_vcpu_ioctl_set_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu) in kvm_arch_vcpu_ioctl_set_fpu() argument