[a64] Fix ADDC carry-bit assignment

This commit is contained in:
Wunkolo
2024-06-23 14:00:24 -07:00
parent 3a1756e87b
commit afd864ebc0
+1 -1
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(