mirror of
https://github.com/ptitSeb/box64.git
synced 2026-11-07 09:26:11 -10:00
[LA64_DYNAREC] Added ARPL opcode (#4095)
This commit is contained in:
1 parent
654e36622f
commit
fd6bdfe69e
1 file changed
+15
-2
@@ -751,8 +751,21 @@ uintptr_t dynarec64_00(dynarec_la64_t* dyn, uintptr_t addr, uintptr_t ip, int ni
|
||||
break;
|
||||
case 0x63:
|
||||
if (rex.is32bits) {
|
||||
// this is ARPL opcode
|
||||
DEFAULT;
|
||||
INST_NAME("ARPL Ew, Gw");
|
||||
SETFLAGS(X_ZF, SF_SUBSET, NAT_FLAGS_NOFUSION);
|
||||
SET_DFNONE();
|
||||
nextop = F8;
|
||||
GETEW(x1, 0);
|
||||
GETGW(x2);
|
||||
ANDI(x6, ed, 3);
|
||||
ANDI(x4, gd, 3);
|
||||
SLTU(x5, x6, x4);
|
||||
BSTRINS_D(xFlags, x5, F_ZF, F_ZF);
|
||||
SPILL_EFLAGS();
|
||||
BEQZ_MARK(x5);
|
||||
BSTRINS_D(ed, gd, 1, 0);
|
||||
EWBACK;
|
||||
MARK;
|
||||
} else {
|
||||
INST_NAME("MOVSXD Gd, Ed");
|
||||
nextop = F8;
|
||||
|
||||
Reference in new issue
Block a user