Lines Matching refs:gprs

65 			arch->gprs[insn.r_format.rd] = epc + 8;  in kvm_compute_return_epc()
68 nextpc = arch->gprs[insn.r_format.rs]; in kvm_compute_return_epc()
84 if ((long)arch->gprs[insn.i_format.rs] < 0) in kvm_compute_return_epc()
93 if ((long)arch->gprs[insn.i_format.rs] >= 0) in kvm_compute_return_epc()
102 arch->gprs[31] = epc + 8; in kvm_compute_return_epc()
103 if ((long)arch->gprs[insn.i_format.rs] < 0) in kvm_compute_return_epc()
112 arch->gprs[31] = epc + 8; in kvm_compute_return_epc()
113 if ((long)arch->gprs[insn.i_format.rs] >= 0) in kvm_compute_return_epc()
141 arch->gprs[31] = instpc + 8; in kvm_compute_return_epc()
154 if (arch->gprs[insn.i_format.rs] == in kvm_compute_return_epc()
155 arch->gprs[insn.i_format.rt]) in kvm_compute_return_epc()
164 if (arch->gprs[insn.i_format.rs] != in kvm_compute_return_epc()
165 arch->gprs[insn.i_format.rt]) in kvm_compute_return_epc()
178 if ((long)arch->gprs[insn.i_format.rs] <= 0) in kvm_compute_return_epc()
191 if ((long)arch->gprs[insn.i_format.rs] > 0) in kvm_compute_return_epc()
1000 *(u64 *)data = vcpu->arch.gprs[rt]; in kvm_mips_emulate_store()
1004 vcpu->arch.gprs[rt], *(u64 *)data); in kvm_mips_emulate_store()
1010 *(u32 *)data = vcpu->arch.gprs[rt]; in kvm_mips_emulate_store()
1014 vcpu->arch.gprs[rt], *(u32 *)data); in kvm_mips_emulate_store()
1019 *(u16 *)data = vcpu->arch.gprs[rt]; in kvm_mips_emulate_store()
1023 vcpu->arch.gprs[rt], *(u16 *)data); in kvm_mips_emulate_store()
1028 *(u8 *)data = vcpu->arch.gprs[rt]; in kvm_mips_emulate_store()
1032 vcpu->arch.gprs[rt], *(u8 *)data); in kvm_mips_emulate_store()
1043 (vcpu->arch.gprs[rt] >> 24); in kvm_mips_emulate_store()
1047 (vcpu->arch.gprs[rt] >> 16); in kvm_mips_emulate_store()
1051 (vcpu->arch.gprs[rt] >> 8); in kvm_mips_emulate_store()
1054 *(u32 *)data = vcpu->arch.gprs[rt]; in kvm_mips_emulate_store()
1062 vcpu->arch.gprs[rt], *(u32 *)data); in kvm_mips_emulate_store()
1072 *(u32 *)data = vcpu->arch.gprs[rt]; in kvm_mips_emulate_store()
1076 (vcpu->arch.gprs[rt] << 8); in kvm_mips_emulate_store()
1080 (vcpu->arch.gprs[rt] << 16); in kvm_mips_emulate_store()
1084 (vcpu->arch.gprs[rt] << 24); in kvm_mips_emulate_store()
1092 vcpu->arch.gprs[rt], *(u32 *)data); in kvm_mips_emulate_store()
1105 ((vcpu->arch.gprs[rt] >> 56) & 0xff); in kvm_mips_emulate_store()
1109 ((vcpu->arch.gprs[rt] >> 48) & 0xffff); in kvm_mips_emulate_store()
1113 ((vcpu->arch.gprs[rt] >> 40) & 0xffffff); in kvm_mips_emulate_store()
1117 ((vcpu->arch.gprs[rt] >> 32) & 0xffffffff); in kvm_mips_emulate_store()
1121 ((vcpu->arch.gprs[rt] >> 24) & 0xffffffffff); in kvm_mips_emulate_store()
1125 ((vcpu->arch.gprs[rt] >> 16) & 0xffffffffffff); in kvm_mips_emulate_store()
1129 ((vcpu->arch.gprs[rt] >> 8) & 0xffffffffffffff); in kvm_mips_emulate_store()
1132 *(u64 *)data = vcpu->arch.gprs[rt]; in kvm_mips_emulate_store()
1140 vcpu->arch.gprs[rt], *(u64 *)data); in kvm_mips_emulate_store()
1151 *(u64 *)data = vcpu->arch.gprs[rt]; in kvm_mips_emulate_store()
1155 (vcpu->arch.gprs[rt] << 8); in kvm_mips_emulate_store()
1159 (vcpu->arch.gprs[rt] << 16); in kvm_mips_emulate_store()
1163 (vcpu->arch.gprs[rt] << 24); in kvm_mips_emulate_store()
1167 (vcpu->arch.gprs[rt] << 32); in kvm_mips_emulate_store()
1171 (vcpu->arch.gprs[rt] << 40); in kvm_mips_emulate_store()
1175 (vcpu->arch.gprs[rt] << 48); in kvm_mips_emulate_store()
1179 (vcpu->arch.gprs[rt] << 56); in kvm_mips_emulate_store()
1187 vcpu->arch.gprs[rt], *(u64 *)data); in kvm_mips_emulate_store()
1205 *(u8 *)data = vcpu->arch.gprs[rt]; in kvm_mips_emulate_store()
1209 vcpu->arch.gprs[rt], *(u8 *)data); in kvm_mips_emulate_store()
1213 *(u16 *)data = vcpu->arch.gprs[rt]; in kvm_mips_emulate_store()
1217 vcpu->arch.gprs[rt], *(u16 *)data); in kvm_mips_emulate_store()
1221 *(u32 *)data = vcpu->arch.gprs[rt]; in kvm_mips_emulate_store()
1225 vcpu->arch.gprs[rt], *(u32 *)data); in kvm_mips_emulate_store()
1229 *(u64 *)data = vcpu->arch.gprs[rt]; in kvm_mips_emulate_store()
1233 vcpu->arch.gprs[rt], *(u64 *)data); in kvm_mips_emulate_store()
1512 unsigned long *gpr = &vcpu->arch.gprs[vcpu->arch.io_gpr]; in kvm_mips_complete_mmio_load()
1528 *gpr = (vcpu->arch.gprs[vcpu->arch.io_gpr] & 0xffffffffffffff) | in kvm_mips_complete_mmio_load()
1532 *gpr = (vcpu->arch.gprs[vcpu->arch.io_gpr] & 0xffffffffffff) | in kvm_mips_complete_mmio_load()
1536 *gpr = (vcpu->arch.gprs[vcpu->arch.io_gpr] & 0xffffffffff) | in kvm_mips_complete_mmio_load()
1540 *gpr = (vcpu->arch.gprs[vcpu->arch.io_gpr] & 0xffffffff) | in kvm_mips_complete_mmio_load()
1544 *gpr = (vcpu->arch.gprs[vcpu->arch.io_gpr] & 0xffffff) | in kvm_mips_complete_mmio_load()
1548 *gpr = (vcpu->arch.gprs[vcpu->arch.io_gpr] & 0xffff) | in kvm_mips_complete_mmio_load()
1552 *gpr = (vcpu->arch.gprs[vcpu->arch.io_gpr] & 0xff) | in kvm_mips_complete_mmio_load()
1560 *gpr = (vcpu->arch.gprs[vcpu->arch.io_gpr] & 0xff00000000000000) | in kvm_mips_complete_mmio_load()
1564 *gpr = (vcpu->arch.gprs[vcpu->arch.io_gpr] & 0xffff000000000000) | in kvm_mips_complete_mmio_load()
1568 *gpr = (vcpu->arch.gprs[vcpu->arch.io_gpr] & 0xffffff0000000000) | in kvm_mips_complete_mmio_load()
1572 *gpr = (vcpu->arch.gprs[vcpu->arch.io_gpr] & 0xffffffff00000000) | in kvm_mips_complete_mmio_load()
1576 *gpr = (vcpu->arch.gprs[vcpu->arch.io_gpr] & 0xffffffffff000000) | in kvm_mips_complete_mmio_load()
1580 *gpr = (vcpu->arch.gprs[vcpu->arch.io_gpr] & 0xffffffffffff0000) | in kvm_mips_complete_mmio_load()
1584 *gpr = (vcpu->arch.gprs[vcpu->arch.io_gpr] & 0xffffffffffffff00) | in kvm_mips_complete_mmio_load()
1601 *gpr = (vcpu->arch.gprs[vcpu->arch.io_gpr] & 0xffffff) | in kvm_mips_complete_mmio_load()
1605 *gpr = (vcpu->arch.gprs[vcpu->arch.io_gpr] & 0xffff) | in kvm_mips_complete_mmio_load()
1609 *gpr = (vcpu->arch.gprs[vcpu->arch.io_gpr] & 0xff) | in kvm_mips_complete_mmio_load()
1617 *gpr = (vcpu->arch.gprs[vcpu->arch.io_gpr] & 0xff000000) | in kvm_mips_complete_mmio_load()
1621 *gpr = (vcpu->arch.gprs[vcpu->arch.io_gpr] & 0xffff0000) | in kvm_mips_complete_mmio_load()
1625 *gpr = (vcpu->arch.gprs[vcpu->arch.io_gpr] & 0xffffff00) | in kvm_mips_complete_mmio_load()