mirror of
https://github.com/ARMSX2/ARMSX2.git
synced 2026-08-24 16:50:16 -07:00
502 VU0 macro-mode cases of DIV, SQRT and RSQRT over zero, denormal, normal, exponent-255 and saturated operands, scored on all four engines. The three commits before this one each fixed one thing an engine had wrong; this holds the whole grid rather than the operands that happened to expose them. DIV earns its place by separating the two rules those commits turned on: its Invalid never comes from a sign, and its saturated quotient takes the xor RSQRT's cannot. An RSQRT-only table would fit either rule. Q is scored by class rather than by row, with exact per-engine tallies. The arithmetic gap under it is a separate piece of work, and this is where it gets a number to move. vu_rsqrt_divisor_sign_tests states the same rules on hand-picked witnesses, where they can be read instead of counted.