mirror of
https://github.com/izzy2lost/xenia-edge.git
synced 2026-07-06 00:20:26 -07:00
[a64] Fix SET_ROUNDING_MODE_I32 exception
This commit is contained in:
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user