Fix Subs handling of carry PSTATE condition code, w/ T
This commit is contained in:
parent
40c5fac9f6
commit
7b1e6314a7
@ -263,7 +263,7 @@ static void executeDPRegister(Machine *state, a64inst_instruction *inst) {
|
||||
|
||||
updateCondNZ(state, result, regType);
|
||||
state->conditionCodes.Overflow = src1Val < result;
|
||||
state->conditionCodes.Carry = state->conditionCodes.Overflow;
|
||||
state->conditionCodes.Carry = src1Val >= src2Val;
|
||||
break;
|
||||
|
||||
case(a64inst_SUB):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user