[a64] Fix `SET_ROUNDING_MODE_I32` exception
This commit is contained in:
parent
046e8edc2a
commit
f5e14d6a40
|
@ -2773,8 +2773,8 @@ struct SET_ROUNDING_MODE_I32
|
|||
e.AND(W1, i.src1, 0b111);
|
||||
|
||||
// Use the low 3 bits as an index into a LUT
|
||||
e.ADRL(X0, fpcr_table);
|
||||
e.LDRB(W0, X0, W1);
|
||||
e.MOVP2R(X0, fpcr_table);
|
||||
e.LDRB(W0, X0, X1);
|
||||
|
||||
// Replace FPCR bits with new value
|
||||
e.MRS(X1, SystemReg::FPCR);
|
||||
|
|
Loading…
Reference in New Issue