Skip to content

Commit

Permalink
Add MOV GS:od, AL
Browse files Browse the repository at this point in the history
test11 contains the instruction.
  • Loading branch information
liuli0217 committed Nov 16, 2022
1 parent 41c9d92 commit 9cbc531
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/dynarec/dynarec_arm_65.c
Original file line number Diff line number Diff line change
Expand Up @@ -416,6 +416,15 @@ uintptr_t dynarecGS(dynarec_arm_t* dyn, uintptr_t addr, uintptr_t ip, int ninst,
}
break;

case 0xA2:
INST_NAME("MOV GS:Od, AL");
grab_tlsdata(dyn, addr, ninst, x1);
u32 = F32;
MOV32(x2, u32);
ADD_REG_LSL_IMM5(x2, x1, x2, 0);
STRB_IMM9(xEAX, x2, 0);
break;

case 0xA3:
INST_NAME("MOV GS:Od, EAX");
grab_tlsdata(dyn, addr, ninst, x1);
Expand Down

0 comments on commit 9cbc531

Please sign in to comment.