Skip to content

Commit

Permalink
[ARM64_DYNAREC] Small fixes for some 8bits OR and XOR opcodes on regs…
Browse files Browse the repository at this point in the history
… with no flags (should help #2243 again)
  • Loading branch information
ptitSeb committed Jan 8, 2025
1 parent ada8efc commit 316f31a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/dynarec/arm64/dynarec_arm64_00.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ uintptr_t dynarec64_00(dynarec_arm_t* dyn, uintptr_t addr, uintptr_t ip, int nin
} else {
GETEB(x1, 0);
CALCGB();
ORRw_REG_LSR(x1, x1, gb1, 8*gb2);
ORRw_REG_LSR(x1, x1, gb1, gb2);
EBBACK;
}
}
Expand All @@ -165,7 +165,7 @@ uintptr_t dynarec64_00(dynarec_arm_t* dyn, uintptr_t addr, uintptr_t ip, int nin
} else {
GETEB(x2, 0);
CALCGB();
ORRx_REG_LSL(gb1, gb1, x2, gb2*8);
ORRx_REG_LSL(gb1, gb1, x2, gb2);
}
break;
case 0x0B:
Expand Down Expand Up @@ -531,7 +531,7 @@ uintptr_t dynarec64_00(dynarec_arm_t* dyn, uintptr_t addr, uintptr_t ip, int nin
} else {
GETEB(x1, 0);
CALCGB();
EORw_REG_LSR(x1, x1, gb1, 8*gb2);
EORw_REG_LSR(x1, x1, gb1, gb2);
EBBACK;
}
}
Expand All @@ -557,7 +557,7 @@ uintptr_t dynarec64_00(dynarec_arm_t* dyn, uintptr_t addr, uintptr_t ip, int nin
} else {
GETEB(x2, 0);
CALCGB();
EORx_REG_LSL(gb1, gb1, x2, gb2*8);
EORx_REG_LSL(gb1, gb1, x2, gb2);
}
break;
case 0x33:
Expand Down

0 comments on commit 316f31a

Please sign in to comment.