• Home
  • Raw
  • Download

Lines Matching refs:arch

163 	kvm_cvt_df(&vcpu->arch.fpr[rt], &vcpu->arch.qpr[rt]);  in kvmppc_sync_qpr()
169 struct kvm_vcpu_arch_shared *shared = vcpu->arch.shared; in kvmppc_inject_pf()
194 vcpu->arch.paddr_accessed = addr; in kvmppc_emulate_fpr_load()
210 kvm_cvt_fd((u32*)tmp, &vcpu->arch.fpr[rs]); in kvmppc_emulate_fpr_load()
211 vcpu->arch.qpr[rs] = *((u32*)tmp); in kvmppc_emulate_fpr_load()
214 vcpu->arch.fpr[rs] = *((u64*)tmp); in kvmppc_emulate_fpr_load()
236 kvm_cvt_df(&vcpu->arch.fpr[rs], (u32*)tmp); in kvmppc_emulate_fpr_store()
241 *((u32*)tmp) = vcpu->arch.fpr[rs]; in kvmppc_emulate_fpr_store()
242 val = vcpu->arch.fpr[rs] & 0xffffffff; in kvmppc_emulate_fpr_store()
246 *((u64*)tmp) = vcpu->arch.fpr[rs]; in kvmppc_emulate_fpr_store()
247 val = vcpu->arch.fpr[rs]; in kvmppc_emulate_fpr_store()
256 vcpu->arch.paddr_accessed = addr; in kvmppc_emulate_fpr_store()
286 vcpu->arch.paddr_accessed = addr; in kvmppc_emulate_psq_load()
293 vcpu->arch.qpr[rs] = tmp[1]; in kvmppc_emulate_psq_load()
304 kvm_cvt_fd(&tmp[0], &vcpu->arch.fpr[rs]); in kvmppc_emulate_psq_load()
305 vcpu->arch.qpr[rs] = tmp[1]; in kvmppc_emulate_psq_load()
322 kvm_cvt_df(&vcpu->arch.fpr[rs], &tmp[0]); in kvmppc_emulate_psq_store()
323 tmp[1] = vcpu->arch.qpr[rs]; in kvmppc_emulate_psq_store()
326 vcpu->arch.paddr_accessed = addr; in kvmppc_emulate_psq_store()
363 if (!(vcpu->arch.hflags & BOOK3S_HFLAG_PAIRED_SINGLE)) in kvmppc_inst_is_paired_single()
514 u32 *qpr = vcpu->arch.qpr; in kvmppc_ps_three_in()
515 u64 *fpr = vcpu->arch.fpr; in kvmppc_ps_three_in()
531 func(&vcpu->arch.fpscr, &ps0_out, &ps0_in1, &ps0_in2, &ps0_in3); in kvmppc_ps_three_in()
548 func(&vcpu->arch.fpscr, &qpr[reg_out], &ps1_in1, &ps1_in2, &ps1_in3); in kvmppc_ps_three_in()
563 u32 *qpr = vcpu->arch.qpr; in kvmppc_ps_two_in()
564 u64 *fpr = vcpu->arch.fpr; in kvmppc_ps_two_in()
581 func(&vcpu->arch.fpscr, &ps0_out, &ps0_in1, &ps0_in2); in kvmppc_ps_two_in()
597 func(&vcpu->arch.fpscr, &ps1_out, &ps1_in1, &ps1_in2); in kvmppc_ps_two_in()
614 u32 *qpr = vcpu->arch.qpr; in kvmppc_ps_one_in()
615 u64 *fpr = vcpu->arch.fpr; in kvmppc_ps_one_in()
624 func(&vcpu->arch.fpscr, &ps0_out, &ps0_in); in kvmppc_ps_one_in()
633 func(&vcpu->arch.fpscr, &qpr[reg_out], &ps1_in); in kvmppc_ps_one_in()
652 u64 *fpr_d = &vcpu->arch.fpr[ax_rd]; in kvmppc_emulate_paired_single()
653 u64 *fpr_a = &vcpu->arch.fpr[ax_ra]; in kvmppc_emulate_paired_single()
654 u64 *fpr_b = &vcpu->arch.fpr[ax_rb]; in kvmppc_emulate_paired_single()
655 u64 *fpr_c = &vcpu->arch.fpr[ax_rc]; in kvmppc_emulate_paired_single()
666 if (!(vcpu->arch.shared->msr & MSR_FP)) { in kvmppc_emulate_paired_single()
677 for (i = 0; i < ARRAY_SIZE(vcpu->arch.fpr); i++) { in kvmppc_emulate_paired_single()
679 kvm_cvt_df(&vcpu->arch.fpr[i], &f); in kvmppc_emulate_paired_single()
681 i, f, vcpu->arch.fpr[i], i, vcpu->arch.qpr[i]); in kvmppc_emulate_paired_single()
767 vcpu->arch.fpr[ax_rd] = vcpu->arch.fpr[ax_rb]; in kvmppc_emulate_paired_single()
768 vcpu->arch.fpr[ax_rd] ^= 0x8000000000000000ULL; in kvmppc_emulate_paired_single()
769 vcpu->arch.qpr[ax_rd] = vcpu->arch.qpr[ax_rb]; in kvmppc_emulate_paired_single()
770 vcpu->arch.qpr[ax_rd] ^= 0x80000000; in kvmppc_emulate_paired_single()
778 vcpu->arch.fpr[ax_rd] = vcpu->arch.fpr[ax_rb]; in kvmppc_emulate_paired_single()
779 vcpu->arch.qpr[ax_rd] = vcpu->arch.qpr[ax_rb]; in kvmppc_emulate_paired_single()
787 vcpu->arch.fpr[ax_rd] = vcpu->arch.fpr[ax_rb]; in kvmppc_emulate_paired_single()
788 vcpu->arch.fpr[ax_rd] |= 0x8000000000000000ULL; in kvmppc_emulate_paired_single()
789 vcpu->arch.qpr[ax_rd] = vcpu->arch.qpr[ax_rb]; in kvmppc_emulate_paired_single()
790 vcpu->arch.qpr[ax_rd] |= 0x80000000; in kvmppc_emulate_paired_single()
794 vcpu->arch.fpr[ax_rd] = vcpu->arch.fpr[ax_rb]; in kvmppc_emulate_paired_single()
795 vcpu->arch.fpr[ax_rd] &= ~0x8000000000000000ULL; in kvmppc_emulate_paired_single()
796 vcpu->arch.qpr[ax_rd] = vcpu->arch.qpr[ax_rb]; in kvmppc_emulate_paired_single()
797 vcpu->arch.qpr[ax_rd] &= ~0x80000000; in kvmppc_emulate_paired_single()
801 vcpu->arch.fpr[ax_rd] = vcpu->arch.fpr[ax_ra]; in kvmppc_emulate_paired_single()
803 kvm_cvt_df(&vcpu->arch.fpr[ax_rb], in kvmppc_emulate_paired_single()
804 &vcpu->arch.qpr[ax_rd]); in kvmppc_emulate_paired_single()
808 vcpu->arch.fpr[ax_rd] = vcpu->arch.fpr[ax_ra]; in kvmppc_emulate_paired_single()
809 vcpu->arch.qpr[ax_rd] = vcpu->arch.qpr[ax_rb]; in kvmppc_emulate_paired_single()
814 kvm_cvt_fd(&vcpu->arch.qpr[ax_ra], in kvmppc_emulate_paired_single()
815 &vcpu->arch.fpr[ax_rd]); in kvmppc_emulate_paired_single()
817 kvm_cvt_df(&vcpu->arch.fpr[ax_rb], in kvmppc_emulate_paired_single()
818 &vcpu->arch.qpr[ax_rd]); in kvmppc_emulate_paired_single()
823 kvm_cvt_fd(&vcpu->arch.qpr[ax_ra], in kvmppc_emulate_paired_single()
824 &vcpu->arch.fpr[ax_rd]); in kvmppc_emulate_paired_single()
825 vcpu->arch.qpr[ax_rd] = vcpu->arch.qpr[ax_rb]; in kvmppc_emulate_paired_single()
859 vcpu->arch.fpr[ax_rd] = vcpu->arch.fpr[ax_rc]; in kvmppc_emulate_paired_single()
864 vcpu->arch.qpr[ax_rd] = vcpu->arch.qpr[ax_rc]; in kvmppc_emulate_paired_single()
1109 fpd_fadds(&vcpu->arch.fpscr, &cr, fpr_d, fpr_a, fpr_b); in kvmppc_emulate_paired_single()
1113 fpd_fsubs(&vcpu->arch.fpscr, &cr, fpr_d, fpr_a, fpr_b); in kvmppc_emulate_paired_single()
1117 fpd_fdivs(&vcpu->arch.fpscr, &cr, fpr_d, fpr_a, fpr_b); in kvmppc_emulate_paired_single()
1121 fpd_fres(&vcpu->arch.fpscr, &cr, fpr_d, fpr_b); in kvmppc_emulate_paired_single()
1125 fpd_frsqrtes(&vcpu->arch.fpscr, &cr, fpr_d, fpr_b); in kvmppc_emulate_paired_single()
1131 fpd_fmuls(&vcpu->arch.fpscr, &cr, fpr_d, fpr_a, fpr_c); in kvmppc_emulate_paired_single()
1135 fpd_fmsubs(&vcpu->arch.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b); in kvmppc_emulate_paired_single()
1139 fpd_fmadds(&vcpu->arch.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b); in kvmppc_emulate_paired_single()
1143 fpd_fnmsubs(&vcpu->arch.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b); in kvmppc_emulate_paired_single()
1147 fpd_fnmadds(&vcpu->arch.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b); in kvmppc_emulate_paired_single()
1162 *fpr_d = vcpu->arch.fpscr; in kvmppc_emulate_paired_single()
1167 vcpu->arch.fpscr = *fpr_b; in kvmppc_emulate_paired_single()
1175 fpd_fcmpu(&vcpu->arch.fpscr, &tmp_cr, fpr_a, fpr_b); in kvmppc_emulate_paired_single()
1186 fpd_fcmpo(&vcpu->arch.fpscr, &tmp_cr, fpr_a, fpr_b); in kvmppc_emulate_paired_single()
1192 fpd_fneg(&vcpu->arch.fpscr, &cr, fpr_d, fpr_b); in kvmppc_emulate_paired_single()
1198 fpd_fabs(&vcpu->arch.fpscr, &cr, fpr_d, fpr_b); in kvmppc_emulate_paired_single()
1201 fpd_fcpsgn(&vcpu->arch.fpscr, &cr, fpr_d, fpr_a, fpr_b); in kvmppc_emulate_paired_single()
1204 fpd_fdiv(&vcpu->arch.fpscr, &cr, fpr_d, fpr_a, fpr_b); in kvmppc_emulate_paired_single()
1207 fpd_fadd(&vcpu->arch.fpscr, &cr, fpr_d, fpr_a, fpr_b); in kvmppc_emulate_paired_single()
1210 fpd_fsub(&vcpu->arch.fpscr, &cr, fpr_d, fpr_a, fpr_b); in kvmppc_emulate_paired_single()
1213 fpd_fctiw(&vcpu->arch.fpscr, &cr, fpr_d, fpr_b); in kvmppc_emulate_paired_single()
1216 fpd_fctiwz(&vcpu->arch.fpscr, &cr, fpr_d, fpr_b); in kvmppc_emulate_paired_single()
1219 fpd_frsp(&vcpu->arch.fpscr, &cr, fpr_d, fpr_b); in kvmppc_emulate_paired_single()
1227 fpd_fsqrt(&vcpu->arch.fpscr, &cr, fpr_d, fpr_b); in kvmppc_emulate_paired_single()
1229 fpd_fdiv(&vcpu->arch.fpscr, &cr, fpr_d, (u64*)&one, fpr_d); in kvmppc_emulate_paired_single()
1235 fpd_fmul(&vcpu->arch.fpscr, &cr, fpr_d, fpr_a, fpr_c); in kvmppc_emulate_paired_single()
1238 fpd_fsel(&vcpu->arch.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b); in kvmppc_emulate_paired_single()
1241 fpd_fmsub(&vcpu->arch.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b); in kvmppc_emulate_paired_single()
1244 fpd_fmadd(&vcpu->arch.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b); in kvmppc_emulate_paired_single()
1247 fpd_fnmsub(&vcpu->arch.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b); in kvmppc_emulate_paired_single()
1250 fpd_fnmadd(&vcpu->arch.fpscr, &cr, fpr_d, fpr_a, fpr_c, fpr_b); in kvmppc_emulate_paired_single()
1257 for (i = 0; i < ARRAY_SIZE(vcpu->arch.fpr); i++) { in kvmppc_emulate_paired_single()
1259 kvm_cvt_df(&vcpu->arch.fpr[i], &f); in kvmppc_emulate_paired_single()