Skip to content

Commit

Permalink
[INTERPRETER] Added 66 0F 38 37 PCMPGTQ opcode (#827)
Browse files Browse the repository at this point in the history
  • Loading branch information
ksco committed Jun 8, 2023
1 parent 2949e5c commit 4021f6d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/emu/x64run660f.c
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,13 @@ uintptr_t Run660F(x64emu_t *emu, rex_t rex, uintptr_t addr)
for(int i=1; i>=0; --i)
GX->q[i] = EX->ud[i];
break;

case 0x37: /* PCMPGTQ Gx, Ex */
nextop = F8;
GETEX(0);
GETGX;
for(int i=1; i>=0; --i)
GX->sq[i] = (GX->sq[i]>EX->sq[i])?-1LL:0LL;
break;
case 0x38: /* PMINSB Gx, Ex */
nextop = F8;
GETEX(0);
Expand Down

0 comments on commit 4021f6d

Please sign in to comment.