diff options
| author | Yang Liu <liuyang22@iscas.ac.cn> | 2024-11-28 00:11:25 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-27 17:11:25 +0100 |
| commit | 05b322414a11117c39327690f1d8533f247b0a18 (patch) | |
| tree | c30ea6f5af8e5476cf28ae11999ef3de232303dd /src | |
| parent | 38ee050a093cbc70c49510a2105eb3375d4444f5 (diff) | |
| download | box64-05b322414a11117c39327690f1d8533f247b0a18.tar.gz box64-05b322414a11117c39327690f1d8533f247b0a18.zip | |
[RV64_DYNAREC] Fixed another regression in vector (#2086)
Diffstat (limited to 'src')
| -rw-r--r-- | src/dynarec/rv64/dynarec_rv64_660f_vector.c | 4 |
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 9c4c90f5..343c920c 100644 --- a/src/dynarec/rv64/dynarec_rv64_660f_vector.c +++ b/src/dynarec/rv64/dynarec_rv64_660f_vector.c @@ -1786,7 +1786,7 @@ uintptr_t dynarec64_660F_vector(dynarec_rv64_t* dyn, uintptr_t addr, uintptr_t i VMV_X_S(x4, q1); } else { SMREAD(); - addr = geted(dyn, addr, ninst, nextop, &ed, x3, x2, &fixedaddress, rex, NULL, 0, 0); + addr = geted(dyn, addr, ninst, nextop, &wback, x3, x2, &fixedaddress, rex, NULL, 0, 0); LD(x4, wback, fixedaddress); } SET_ELEMENT_WIDTH(x1, u8, 1); @@ -2140,7 +2140,7 @@ uintptr_t dynarec64_660F_vector(dynarec_rv64_t* dyn, uintptr_t addr, uintptr_t i VMV_X_S(x4, q1); } else { SMREAD(); - addr = geted(dyn, addr, ninst, nextop, &ed, x3, x2, &fixedaddress, rex, NULL, 0, 0); + addr = geted(dyn, addr, ninst, nextop, &wback, x3, x2, &fixedaddress, rex, NULL, 0, 0); LD(x4, wback, fixedaddress); } SET_ELEMENT_WIDTH(x1, u8, 1); |