about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-03-08 16:04:47 +0100
committerptitSeb <sebastien.chev@gmail.com>2021-03-08 16:04:47 +0100
commit14f0497e640f9777c3d30979bf6a30e5c06c8b02 (patch)
tree27bb0b00518c9835d12fa69f6344f6462ecbbe54 /src
parent9ab80d228b301f844ec87303c54cac76dc58e861 (diff)
downloadbox64-14f0497e640f9777c3d30979bf6a30e5c06c8b02.tar.gz
box64-14f0497e640f9777c3d30979bf6a30e5c06c8b02.zip
Added 0F AE /2 and /3 opcodes
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64run0f.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/emu/x64run0f.c b/src/emu/x64run0f.c
index 08a31db0..81636b4a 100644
--- a/src/emu/x64run0f.c
+++ b/src/emu/x64run0f.c
@@ -418,6 +418,12 @@ int Run0F(x64emu_t *emu, rex_t rex)
             }

             GETED(0);

             switch((nextop>>3)&7) {

+                case 2:                 /* LDMXCSR Md */

+                    emu->mxcsr = ED->dword[0];

+                    break;

+                case 3:                 /* STMXCSR Md */

+                    ED->dword[0] = emu->mxcsr;

+                    break;

                 default:

                     return 1;

             }