Skip to content

Commit

Permalink
[LA64_DYNAREC] Added MOVLPD and MOVHPD opcodes
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangzhai committed Dec 24, 2024
1 parent e84f2e4 commit 24b1608
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/dynarec/la64/dynarec_la64_660f.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,18 @@ uintptr_t dynarec64_660F(dynarec_la64_t* dyn, uintptr_t addr, uintptr_t ip, int
FLD_D(v1, wback, fixedaddress);
VEXTRINS_D(v0, v1, 0);
break;
case 0x13:
INST_NAME("MOVLPD Eq, Gx");
nextop = F8;
GETGX(v0, 0);
if (MODREG) {
DEFAULT;
return addr;
}
addr = geted(dyn, addr, ninst, nextop, &ed, x2, x3, &fixedaddress, rex, NULL, 1, 0);
FST_D(v0, ed, fixedaddress);
SMWRITE2();
break;
case 0x14:
INST_NAME("UNPCKLPD Gx, Ex");
nextop = F8;
Expand Down Expand Up @@ -146,6 +158,18 @@ uintptr_t dynarec64_660F(dynarec_la64_t* dyn, uintptr_t addr, uintptr_t ip, int
FLD_D(v1, ed, fixedaddress);
VEXTRINS_D(v0, v1, 0x10);
break;
case 0x17:
INST_NAME("MOVHPD Eq, Gx");
nextop = F8;
GETGX(v0, 0);
if (MODREG) {
DEFAULT;
return addr;
}
addr = geted(dyn, addr, ninst, nextop, &ed, x2, x3, &fixedaddress, rex, NULL, 1, 0);
FST_D(v0, ed, fixedaddress);
SMWRITE2();
break;
case 0x1F:
INST_NAME("NOP (multibyte)");
nextop = F8;
Expand Down

0 comments on commit 24b1608

Please sign in to comment.