nkeynes@225 | 1 | SH4 instruction set tests.
|
nkeynes@225 | 2 | Each core instruction has its own set of tests that are assembled into the
|
nkeynes@225 | 3 | main test executable.
|
nkeynes@225 | 4 |
|
nkeynes@225 | 5 | Note: Since each instruction's tests obviously depends on other
|
nkeynes@225 | 6 | instructions, its possible for multiple bugs to cancel each other out.
|
nkeynes@225 | 7 | However the tests are structured as much as possible to prevent this.
|
nkeynes@225 | 8 |
|
nkeynes@225 | 9 | Each test loops repeatedly for a constant number of times (currently 1000)
|
nkeynes@225 | 10 | to a) ensure that dynamic recompilation kicks in and recompiles the block,
|
nkeynes@225 | 11 | and b) allow the code to be timed (to a first approximation anyway).
|