mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 15:30:35 +00:00
Merge pull request #17784 from unknownbrackets/arm64-round
arm64jit: When rouding unset, use nearest
This commit is contained in:
commit
e478dbff3d
@ -312,7 +312,7 @@ void Arm64Jit::GenerateFixedCode(const JitOptions &jo) {
|
||||
|
||||
// Leave this at the end, add more stuff above.
|
||||
if (enableDisasm) {
|
||||
std::vector<std::string> lines = DisassembleArm64(start, GetCodePtr() - start);
|
||||
std::vector<std::string> lines = DisassembleArm64(start, (int)(GetCodePtr() - start));
|
||||
for (auto s : lines) {
|
||||
INFO_LOG(JIT, "%s", s.c_str());
|
||||
}
|
||||
|
@ -292,7 +292,7 @@ void Arm64Jit::Comp_FPU2op(MIPSOpcode op) {
|
||||
fp.FMOV(fpr.R(fd), S0);
|
||||
} else {
|
||||
fp.FCMP(fpr.R(fs), fpr.R(fs));
|
||||
fp.FCVTS(fpr.R(fd), fpr.R(fs), ROUND_Z);
|
||||
fp.FCVTS(fpr.R(fd), fpr.R(fs), ROUND_N);
|
||||
FixupBranch skip_nan = B(CC_VC);
|
||||
MOVI2R(SCRATCH1, 0x7FFFFFFF);
|
||||
fp.FMOV(fpr.R(fd), SCRATCH1);
|
||||
|
Loading…
Reference in New Issue
Block a user