about summary refs log tree commit diff stats
path: root/src/emu
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-04-07 14:49:56 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-04-07 14:49:56 +0200
commitc1eef81fdbcdc18c033ebecbf2da59676f704154 (patch)
tree55180ccbbc2f4dfe3a38f89918f4a7270887f9c2 /src/emu
parentb1e6fa4f2be2567d496884f4bf786991e66bb921 (diff)
downloadbox64-c1eef81fdbcdc18c033ebecbf2da59676f704154.tar.gz
box64-c1eef81fdbcdc18c033ebecbf2da59676f704154.zip
Added 0F DA ocode ([DYNAREC] too)
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/x64run0f.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/emu/x64run0f.c b/src/emu/x64run0f.c
index 6037f073..6ac0f0a6 100644
--- a/src/emu/x64run0f.c
+++ b/src/emu/x64run0f.c
@@ -1276,7 +1276,13 @@ int Run0F(x64emu_t *emu, rex_t rex)
                 GM->uw[i] = (tmp32s < 0) ? 0 : tmp32s;

             }

             break;

-

+        case 0xDA:                   /* PMINUB Gm,Em */

+            nextop = F8;

+            GETEM(0);

+            GETGM;

+            for (int i=0; i<8; ++i)

+                GM->ub[i] = (GM->ub[i]<EM->ub[i])?GM->ub[i]:EM->ub[i];

+            break;

         case 0xDB:                   /* PAND Gm,Em */

             nextop = F8;

             GETEM(0);