|
@@ -1581,7 +1581,7 @@ enum emulation_result kvm_mips_emulate_cache(uint32_t inst, uint32_t *opc,
|
|
|
|
|
|
base = (inst >> 21) & 0x1f;
|
|
base = (inst >> 21) & 0x1f;
|
|
op_inst = (inst >> 16) & 0x1f;
|
|
op_inst = (inst >> 16) & 0x1f;
|
|
- offset = inst & 0xffff;
|
|
|
|
|
|
+ offset = (int16_t)inst;
|
|
cache = (inst >> 16) & 0x3;
|
|
cache = (inst >> 16) & 0x3;
|
|
op = (inst >> 18) & 0x7;
|
|
op = (inst >> 18) & 0x7;
|
|
|
|
|