diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-04-02 14:41:19 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-04-02 14:41:19 +0200 |
| commit | 817c3d7058e9a7ee6b7c8edaccd880075d762271 (patch) | |
| tree | ef76949f9b5f1680f6a6b839e7570e21f1572cce /src/emu | |
| parent | e2a7dd0f1760b0567067d20e55021746b57b2a37 (diff) | |
| download | box64-817c3d7058e9a7ee6b7c8edaccd880075d762271.tar.gz box64-817c3d7058e9a7ee6b7c8edaccd880075d762271.zip | |
Added 0F E0 opcode ([DYNAREC] too)
Diffstat (limited to 'src/emu')
| -rw-r--r-- | src/emu/x64run0f.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/emu/x64run0f.c b/src/emu/x64run0f.c index 3aeb8c9a..6037f073 100644 --- a/src/emu/x64run0f.c +++ b/src/emu/x64run0f.c @@ -1308,7 +1308,13 @@ int Run0F(x64emu_t *emu, rex_t rex) GETGM; GM->q = (~GM->q) & EM->q; break; - + case 0xE0: /* PAVGB Gm, Em */ + nextop = F8; + GETEM(0); + GETGM; + for(int i=0; i<8; ++i) + GM->ub[i] = ((uint32_t)GM->ub[i]+EM->ub[i]+1)>>1; + break; case 0xE1: /* PSRAW Gm, Em */ nextop = F8; GETEM(0); |