summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/CommandProcessor.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2021-05-22 17:28:04 +0200
committerJosJuice <josjuice@gmail.com>2021-05-22 17:28:04 +0200
commit68a5fc55d2c6ba3bf7645630eedb6a7f722ed540 (patch)
treeec7468eb60c89544a516836f791e8bd748497ce7 /Source/Core/VideoCommon/CommandProcessor.cpp
parent40a47150746a024ad395689d8f1176bd4703beae (diff)
Interpreter: Fix fctiwx rounding
The interpreter implementation of fctiwx was treating rounding mode 0 as "round to nearest, ties towards zero", which is not an actual IEEE-754 rounding mode. The IBM document mentioned in a comment at the top of the function, on the other hand, treats rounding mode 0 as "round to nearest, ties to even", which makes more sense. This fixes one of JMC's console-recorded F-Zero GX replays on JitArm64. (JitArm64 uses an interpreter fallback for fctiwx.)
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.cpp')
0 files changed, 0 insertions, 0 deletions