diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-04-02 15:11:19 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-04-02 15:11:19 +0200 |
| commit | e8d6f083a36f79ee2b29b50451d08bb4baa7d9ae (patch) | |
| tree | 15dc472f9757f2790a717b427417cde9e17d23e8 /src/emu | |
| parent | 817c3d7058e9a7ee6b7c8edaccd880075d762271 (diff) | |
| download | box64-e8d6f083a36f79ee2b29b50451d08bb4baa7d9ae.tar.gz box64-e8d6f083a36f79ee2b29b50451d08bb4baa7d9ae.zip | |
Added 66 0F 38 0B opcode ([DYNAREC] too)
Diffstat (limited to 'src/emu')
| -rw-r--r-- | src/emu/x64run660f.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/emu/x64run660f.c b/src/emu/x64run660f.c index f18e8874..4ccf55da 100644 --- a/src/emu/x64run660f.c +++ b/src/emu/x64run660f.c @@ -248,6 +248,16 @@ int Run660F(x64emu_t *emu, rex_t rex) } break; + case 0x0B: /* PMULHRSW Gx, Ex */ + nextop = F8; + GETEX(0); + GETGX; + for (int i=0; i<8; ++i) { + tmp32s = ((((int32_t)(GX->sw[i])*(int32_t)(EX->sw[i]))>>14) + 1)>>1; + GX->uw[i] = tmp32s&0xffff; + } + break; + default: return 1; } |