about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorYang Liu <liuyang22@iscas.ac.cn>2025-01-11 02:51:33 +0800
committerGitHub <noreply@github.com>2025-01-10 19:51:33 +0100
commit56ccde005e9332662326b8446658e7a322633e46 (patch)
tree6068930b06107e20f5b6562d6f59d85f29c96a3f /src
parent47e4aa0b8400c00e459abc4e2c7403f34540a4e2 (diff)
downloadbox64-56ccde005e9332662326b8446658e7a322633e46.tar.gz
box64-56ccde005e9332662326b8446658e7a322633e46.zip
[RV64_DYNAREC] Disabled dynamic sew on MOVDQA as a workaround (#2249)
Diffstat (limited to 'src')
-rw-r--r--src/dynarec/rv64/dynarec_rv64_660f_vector.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dynarec/rv64/dynarec_rv64_660f_vector.c b/src/dynarec/rv64/dynarec_rv64_660f_vector.c
index 2d733b22..8eba1e38 100644
--- a/src/dynarec/rv64/dynarec_rv64_660f_vector.c
+++ b/src/dynarec/rv64/dynarec_rv64_660f_vector.c
@@ -1350,7 +1350,7 @@ uintptr_t dynarec64_660F_vector(dynarec_rv64_t* dyn, uintptr_t addr, uintptr_t i
         case 0x6F:
             INST_NAME("MOVDQA Gx, Ex");
             nextop = F8;
-            SET_ELEMENT_WIDTH(x1, VECTOR_SEWANY, 1);
+            SET_ELEMENT_WIDTH(x1, VECTOR_SEW64, 1);
             if (MODREG) {
                 v1 = sse_get_reg_vector(dyn, ninst, x1, (nextop & 7) + (rex.b << 3), 0, dyn->vector_eew);
                 GETGX_empty_vector(v0);
@@ -1637,7 +1637,7 @@ uintptr_t dynarec64_660F_vector(dynarec_rv64_t* dyn, uintptr_t addr, uintptr_t i
             INST_NAME("MOVDQA Ex, Gx");
             nextop = F8;
             GETG;
-            SET_ELEMENT_WIDTH(x1, VECTOR_SEWANY, 1);
+            SET_ELEMENT_WIDTH(x1, VECTOR_SEW64, 1);
             if (MODREG) {
                 ed = (nextop & 7) + (rex.b << 3);
                 v0 = sse_get_reg_empty_vector(dyn, ninst, x1, ed);