*[ARM64_DYNAREC] Fixed some cases of memory access on BTR/BTS opcodes (for #2093)

This commit is contained in:
ptitSeb committed 2024-12-01 10:03:25 +01:00
1 parent b7007a1bdd
commit 93b371eb8c
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -1744,7 +1744,7 @@ uintptr_t dynarec64_0F(dynarec_arm_t* dyn, uintptr_t addr, uintptr_t ip, int nin
LSLxw_REG(x4, x4, x2);
ORRxw_REG(ed, ed, x4);
if(wback) {
STRxw_U12(ed, wback, fixedaddress);
STxw(ed, wback, fixedaddress);
SMWRITE();
}
break;
@@ -1984,7 +1984,7 @@ uintptr_t dynarec64_0F(dynarec_arm_t* dyn, uintptr_t addr, uintptr_t ip, int nin
LSLxw_REG(x4, x4, x2);
BICxw_REG(ed, ed, x4);
if(wback) {
STRxw_U12(ed, wback, fixedaddress);
STxw(ed, wback, fixedaddress);
SMWRITE();
}
break;
+2 -2
View File
@@ -2393,7 +2393,7 @@ uintptr_t dynarec64_660F(dynarec_arm_t* dyn, uintptr_t addr, uintptr_t ip, int n
LSLw_REG(x1, x1, x2);
ORRx_REG(ed, ed, x1);
if(wback) {
STRH_U12(ed, wback, fixedaddress);
STH(ed, wback, fixedaddress);
}
break;
case 0xAC:
@@ -2593,7 +2593,7 @@ uintptr_t dynarec64_660F(dynarec_arm_t* dyn, uintptr_t addr, uintptr_t ip, int n
LSLxw_REG(x1, x1, x2);
EORx_REG(ed, ed, x1);
if(wback) {
STRH_U12(ed, wback, fixedaddress);
STH(ed, wback, fixedaddress);
SMWRITE();
}
break;