Closed jpd002 closed 9 years ago
Cool, nice. So are these results consistent between runs? Or does it sometimes vary in the number of instructions it delays for? I would hope it doesn't vary.
If it does vary, we might want to structure the test output differently so that an emulator could pass it (exact result match) as long as it delayed by the minimum.
-[Unknown]
It doesn't vary and many games rely on that (placing a Q reading operation 7 instructions after a DIV).
I'll change the constants to actual floats literals to make it clearer.
Sweet, thanks.
-[Unknown]
This is a small test that shows the various delays for FDIV instructions (DIV, SQRT, RSQRT).