To validate correctness for each translated instruction, we need to construct unit tests for each instruction that the PS2 VU0/1 can possibly execute. Each instruction should have at least one basic test, as well as cases for edge behavior, like saturation, flag setting, etc.
The PS2 COP2/VU0/VU1 General instructions that require testing:
Cop2Format
VU0MacroSpecial1Functions
VU0MacroSpecial2Functions
VU0OPSFunctions
VU0OPSFunctionsExtra
To validate correctness for each translated instruction, we need to construct unit tests for each instruction that the PS2 VU0/1 can possibly execute. Each instruction should have at least one basic test, as well as cases for edge behavior, like saturation, flag setting, etc.
The PS2 COP2/VU0/VU1 General instructions that require testing:
Cop2Format
VU0MacroSpecial1Functions
VU0MacroSpecial2Functions
VU0OPSFunctions
VU0OPSFunctionsExtra