dolphin/Source
Lioncash 2ca1ac3370 Interpreter_Integer: Correct negative overflow handling for divw
Previously, given cases such as 0x80000000 / 0xFFFFFFFF we'd incorrectly
set the destination register value to zero. If the dividend is negative,
then the destination should be set to -1 (0xFFFFFFFF), however if the
dividend is positive, then the destination should be set to 0.

Note that the 750CL documents state that:

"If an attempt is made to perform either of the divisions --
0x80000000 / -1 or <anything> / 0, then the contents of rD are
undefined, as are the contents of the LT, GT, and EQ bits of the CR0
field (if Rc = 1). In this case, if OE = 1 then OV is set."

So this is a particular behavior of the hardware itself.
2018-05-22 10:39:08 -04:00
..
Android Reimplement custom PNG banners in game list 2018-05-20 15:34:03 +02:00
Core Interpreter_Integer: Correct negative overflow handling for divw 2018-05-22 10:39:08 -04:00
DSPSpy DSPSpy: Add a test for accelerator loop 2017-09-22 20:17:38 +02:00
DSPTool Win32/FileUtil: Fix IsDirectory() not working for certain directories 2018-05-04 23:53:41 +02:00
PCH msvc: bump the required _MSC_FULL_VER 2017-06-03 18:20:41 -07:00
UnitTests IOSC: Implement VerifyPublicKeySign for ECC 2018-05-20 20:04:53 +02:00
VSProps Remove SOIL altogether from the project. 2018-05-20 13:44:42 +02:00
.clang-format Reformat all the things! 2018-04-12 21:28:39 +02:00
CMakeLists.txt CMakeLists: Remove add_dolphin_library macro 2018-04-02 08:31:56 -04:00
dolphin-emu.sln Remove SOIL altogether from the project. 2018-05-20 13:44:42 +02:00