[a64] Fix ADDC carry-bit assignment

This commit is contained in:
Wunkolo 2024-05-10 08:08:25 -07:00
parent 6f0ff9e54b
commit 1bdc243e05
1 changed files with 1 additions and 1 deletions

View File

@ -1203,7 +1203,7 @@ void EmitAddCarryXX(A64Emitter& e, const ARGS& i) {
e.MRS(X1, SystemReg::NZCV);
// Assign carry bit
e.BFI(X1, X0, 61, 1);
e.BFI(X1, X0, 29, 1);
e.MSR(SystemReg::NZCV, X1);
}
SEQ::EmitCommutativeBinaryOp(