diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-07-06 16:37:02 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-07-06 16:37:02 +0200 |
| commit | d07036b8ec693bb85bd74bd81703931a85b13a50 (patch) | |
| tree | 9a9fa9f5a604fe5924b847a81cc06c231b90a93b /src/emu | |
| parent | cb73eaf7768cd765cb242bb4526c9ce998e4d82d (diff) | |
| download | box64-d07036b8ec693bb85bd74bd81703931a85b13a50.tar.gz box64-d07036b8ec693bb85bd74bd81703931a85b13a50.zip | |
Added 0F D7 opcode ([DYNAREC] too) (for #32)
Diffstat (limited to 'src/emu')
| -rw-r--r-- | src/emu/x64run0f.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/emu/x64run0f.c b/src/emu/x64run0f.c index 8bb36279..89c005a1 100644 --- a/src/emu/x64run0f.c +++ b/src/emu/x64run0f.c @@ -1283,6 +1283,15 @@ int Run0F(x64emu_t *emu, rex_t rex) } break; + case 0xD7: /* PMOVMSKB Gd,Em */ + nextop = F8; + GETEM(0); + GETGD; + GD->dword[0] = 0; + for (int i=0; i<8; ++i) + if(EM->ub[i]&0x80) + GD->dword[0] |= (1<<i); + break; case 0xD8: /* PSUBUSB Gm,Em */ nextop = F8; GETEM(0); |