Added 66 0F BF opcode ([DYNAREC] too)

This commit is contained in:
ptitSeb 2022-02-11 17:45:15 +01:00
parent 5187b55a2e
commit 4f0970138b
2 changed files with 12 additions and 0 deletions

View File

@ -1614,6 +1614,13 @@ uintptr_t dynarec660F(dynarec_arm_t* dyn, uintptr_t addr, uintptr_t ip, int nins
}
BFI(gd, x1, 0, 16);
break;
case 0xBF:
INST_NAME("MOVSX Gw, Ew");
nextop = F8;
GETGD;
GETEW(x1);
BFI(gd, x1, 0, 16);
break;
case 0xC1:
INST_NAME("XADD Gw, Ew");

View File

@ -1059,6 +1059,11 @@ void Run660F(x86emu_t *emu)
GET_EB;
GW.sword[0] = EB->sbyte[0];
break;
case 0xBF: /* MOVSX Gw,Ew */
nextop = F8;
GET_EW;
GW.sword[0] = EW->sword[0];
break;
case 0xC1: /* XADD Gw,Ew */ // Xchange and Add
nextop = F8;