diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-09-08 20:54:19 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-09-08 20:54:19 +0200 |
| commit | 63ab450d875018ab284f6beaa71a2b1d859051d6 (patch) | |
| tree | 324824610c1326fae41ea133fd9702fd1d8db5ec /src | |
| parent | bcc29168cd9fb592f8cbecabe351d29a61f90d89 (diff) | |
| download | box64-63ab450d875018ab284f6beaa71a2b1d859051d6.tar.gz box64-63ab450d875018ab284f6beaa71a2b1d859051d6.zip | |
Added 66 0F 7C ocpode (for #111)
Diffstat (limited to 'src')
| -rw-r--r-- | src/emu/x64run660f.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/emu/x64run660f.c b/src/emu/x64run660f.c index 4a748f0b..6f0a4d9d 100644 --- a/src/emu/x64run660f.c +++ b/src/emu/x64run660f.c @@ -1132,6 +1132,18 @@ int Run660F(x64emu_t *emu, rex_t rex) GX->ud[i] = (GX->ud[i]==EX->ud[i])?0xffffffff:0; break; + case 0x7C: /* HADDPD Gx, Ex */ + nextop = F8; + GETEX(0); + GETGX; + GX->d[0] += GX->d[1]; + if(EX==GX) { + GX->d[1] = GX->d[0]; + } else { + GX->d[1] = EX->d[0] + EX->d[1]; + } + break; + case 0x7E: /* MOVD Ed, Gx */ nextop = F8; GETED(0); |