about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-03-30 10:53:51 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-03-30 10:53:51 +0200
commita9a82e581a2cff17368fc369f1d6517e4845a2e6 (patch)
tree26e554a528edebbadfac1bb828495a5579d25ba9 /src
parent0a8bbe93a52ce4d454e0eb8ee6c71384e0b5fb94 (diff)
downloadbox64-a9a82e581a2cff17368fc369f1d6517e4845a2e6.tar.gz
box64-a9a82e581a2cff17368fc369f1d6517e4845a2e6.zip
Improved and enhanced test17 (SSE testing)
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64run660f.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/x64run660f.c b/src/emu/x64run660f.c
index 0f7f252b..5d4463bd 100644
--- a/src/emu/x64run660f.c
+++ b/src/emu/x64run660f.c
@@ -367,7 +367,7 @@ int Run660F(x64emu_t *emu, rex_t rex)
                 GETEX(0);

                 GETGX;

                 for (int i=0; i<16; ++i) {

-                    GX->sb[i] = abs(EX->sb[i]);

+                    GX->ub[i] = abs(EX->sb[i]);

                 }

                 break;

             case 0x1D:  /* PABSW Gx, Ex */

@@ -375,7 +375,7 @@ int Run660F(x64emu_t *emu, rex_t rex)
                 GETEX(0);

                 GETGX;

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

-                    GX->sw[i] = abs(EX->sw[i]);

+                    GX->uw[i] = abs(EX->sw[i]);

                 }

                 break;

             case 0x1E:  /* PABSD Gx, Ex */

@@ -383,7 +383,7 @@ int Run660F(x64emu_t *emu, rex_t rex)
                 GETEX(0);

                 GETGX;

                 for (int i=0; i<4; ++i) {

-                    GX->sd[i] = abs(EX->sd[i]);

+                    GX->ud[i] = abs(EX->sd[i]);

                 }

                 break;