diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-09-04 13:43:16 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-09-04 13:43:16 +0200 |
| commit | ab9178f6381a82aae9c52c8119c6806aa325d4c5 (patch) | |
| tree | ed17584014c8ec6d9312719279fd976218883d25 /src | |
| parent | 1b8d952d8869dac83aa69beb01fb136b2cdb5b4d (diff) | |
| download | box64-ab9178f6381a82aae9c52c8119c6806aa325d4c5.tar.gz box64-ab9178f6381a82aae9c52c8119c6806aa325d4c5.zip | |
Fixed 66 0F 3A 40 SSE4x opcode (for #108)
Diffstat (limited to 'src')
| -rw-r--r-- | src/emu/x64run660f.c | 26 |
1 files changed, 13 insertions, 13 deletions
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<<i))?tmpf:0.0f; - break; - case 0xDB: /* AESIMC Gx, Ex */ nextop = F8; GETEX(0); @@ -663,6 +650,19 @@ int Run660F(x64emu_t *emu, rex_t rex) GX->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<<i))?tmpf:0.0f; + break; + case 0xDF: // AESKEYGENASSIST Gx, Ex, u8 nextop = F8; GETEX(1); |