ARM: Fix regression setting C flag in SBC (fixes #1827)
Vicki Pfau vi@endrift.com
Sun, 26 Jul 2020 23:18:15 -0700
1 files changed,
0 insertions(+),
1 deletions(-)
jump to
M
src/arm/isa-thumb.c
→
src/arm/isa-thumb.c
@@ -26,7 +26,6 @@ cpu->cpsr.c = ARM_BORROW_FROM(M, N, D); \
cpu->cpsr.v = ARM_V_SUBTRACTION(M, N, D); #define THUMB_SUBTRACTION_CARRY_S(M, N, D, C) \ - cpu->cpsr.flags = 0; \ cpu->cpsr.n = ARM_SIGN(D); \ cpu->cpsr.z = !(D); \ cpu->cpsr.c = ARM_BORROW_FROM_CARRY(M, N, D, C); \