From ab9178f6381a82aae9c52c8119c6806aa325d4c5 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sat, 4 Sep 2021 13:43:16 +0200 Subject: Fixed 66 0F 3A 40 SSE4x opcode (for #108) --- src/emu/x64run660f.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src') diff --git a/src/emu/x64run660f.c b/src/emu/x64run660f.c index 21256c3d..4a748f0b 100644 --- a/src/emu/x64run660f.c +++ b/src/emu/x64run660f.c @@ -430,19 +430,6 @@ int Run660F(x64emu_t *emu, rex_t rex) GX->sq[i] = EX->sd[i]; break; - case 0x40: /* DPPS Gx, Ex, Ib */ - nextop = F8; - GETEX(1); - GETGX; - tmp8u = F8; - tmpf = 0.0f; - for(int i=0; i<4; ++i) - if(tmp8u&(1<<(i+4))) - tmpf += GX->f[i]*EX->f[i]; - for(int i=0; i<4; ++i) - GX->f[i] = (tmp8u&(1<ud[tmp8u&0x3] = ED->dword[0]; break; + case 0x40: /* DPPS Gx, Ex, Ib */ + nextop = F8; + GETEX(1); + GETGX; + tmp8u = F8; + tmpf = 0.0f; + for(int i=0; i<4; ++i) + if(tmp8u&(1<<(i+4))) + tmpf += GX->f[i]*EX->f[i]; + for(int i=0; i<4; ++i) + GX->f[i] = (tmp8u&(1<