dolphin-emu / hwtests

Hardware test suite
GNU General Public License v2.0
22 stars 25 forks source link

cputest_ni: Add tests for subnormals that get rounded to normals #52

Closed JosJuice closed 2 years ago

JosJuice commented 2 years ago

I wrote these two tests because I wanted to test if the behavior I implemented in https://github.com/dolphin-emu/dolphin/pull/10959 should affect the results of arithmetic operations in addition to frsp. It turned out that Dolphin was already correctly emulating these two tests (I frankly don't understand how in the float case), but I figured I would submit the tests regardless. If nothing else, it's good for documenting what the real hardware is doing.