From e0fbda56c5ec8823cdc4e00b95dc784530a5c652 Mon Sep 17 00:00:00 2001 From: Yang Liu Date: Thu, 8 Jun 2023 14:48:59 +0800 Subject: [PATCH] [INTERPRETER] Added 66 0F 38 37 PCMPGTQ opcode --- src/emu/x64run660f.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/emu/x64run660f.c b/src/emu/x64run660f.c index 29f36fcd7..3083b7b01 100644 --- a/src/emu/x64run660f.c +++ b/src/emu/x64run660f.c @@ -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);