mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
arm64: Fix a dump mistake with rounding modes.
This commit is contained in:
parent
920df87621
commit
4d7a948717
2 changed files with 2 additions and 0 deletions
|
@ -563,6 +563,7 @@ void Arm64Jit::ApplyRoundingMode(bool force) {
|
|||
// Let's update js.currentRoundingFunc with the right convertS0ToSCRATCH1 func.
|
||||
MOVP2R(SCRATCH1_64, convertS0ToSCRATCH1);
|
||||
// We already index this array including the FZ bit. Easy.
|
||||
LSL(SCRATCH2, SCRATCH2, 3);
|
||||
LDR(SCRATCH2_64, SCRATCH1_64, SCRATCH2);
|
||||
MOVP2R(SCRATCH1_64, &js.currentRoundingFunc);
|
||||
STR(INDEX_UNSIGNED, SCRATCH2_64, SCRATCH1_64, 0);
|
||||
|
|
|
@ -57,6 +57,7 @@ namespace MIPSComp {
|
|||
JitState()
|
||||
: hasSetRounding(0),
|
||||
lastSetRounding(0),
|
||||
currentRoundingFunc(nullptr),
|
||||
startDefaultPrefix(true),
|
||||
prefixSFlag(PREFIX_UNKNOWN),
|
||||
prefixTFlag(PREFIX_UNKNOWN),
|
||||
|
|
Loading…
Add table
Reference in a new issue