[a64] Fix FPCR starting bit index

This commit is contained in:
Wunkolo 2024-05-12 18:27:07 -07:00
parent 1919dda336
commit d3d3ea3149

View file

@ -2789,7 +2789,7 @@ struct SET_ROUNDING_MODE_I32
// Replace FPCR bits with new value
e.MRS(X1, SystemReg::FPCR);
e.BFI(X1, X0, 54, 3);
e.BFI(X1, X0, 23, 3);
e.MSR(SystemReg::FPCR, X1);
}
};