filename | test/sh4/README |
changeset | 225:e5cea6125580 |
author | nkeynes |
date | Fri Dec 02 18:18:04 2011 +1000 (12 years ago) |
permissions | -rw-r--r-- |
last change | SH4 shadow-mode tweaks - Fix exceptions generated by the translator to account for the excepting instruction(s) in the cycle counts. - Compare floating point regs bitwise rather than with FP comparisons (otherwise can fail due to nan != nan) - Dump the translated block when we abort with an inconsistency |
view | annotate | diff | log | raw |
1 SH4 instruction set tests.
2 Each core instruction has its own set of tests that are assembled into the
3 main test executable.
5 Note: Since each instruction's tests obviously depends on other
6 instructions, its possible for multiple bugs to cancel each other out.
7 However the tests are structured as much as possible to prevent this.
9 Each test loops repeatedly for a constant number of times (currently 1000)
10 to a) ensure that dynamic recompilation kicks in and recompiles the block,
11 and b) allow the code to be timed (to a first approximation anyway).
.