about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-07-05 10:17:16 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-07-05 10:17:16 +0200
commit283a4dda20b0dc54c70eaa9bb876a8510b603bb6 (patch)
treee7579dc68bc46a1918246ee00c31937577c61567 /src
parent3355f39e9fb953bf330eaafce2991b0e3013fef8 (diff)
downloadbox64-283a4dda20b0dc54c70eaa9bb876a8510b603bb6.tar.gz
box64-283a4dda20b0dc54c70eaa9bb876a8510b603bb6.zip
Small optim on interpreted 0F 10/11 opcodes
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64run0f.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/x64run0f.c b/src/emu/x64run0f.c
index 30c89c0b..81167450 100644
--- a/src/emu/x64run0f.c
+++ b/src/emu/x64run0f.c
@@ -69,13 +69,13 @@ int Run0F(x64emu_t *emu, rex_t rex)
             nextop = F8;

             GETEX(0);

             GETGX;

-            memcpy(GX, EX, 16); // unaligned, so carreful

+            GX->u128 = EX->u128;

             break;

         case 0x11:                      /* MOVUPS Ex,Gx */

             nextop = F8;

             GETEX(0);

             GETGX;

-            memcpy(EX, GX, 16); // unaligned, so carreful

+            EX->u128 = GX->u128;

             break;

         case 0x12:                      

             nextop = F8;