Search
lxdream.org :: lxdream/test/sh4/README
lxdream 0.9.1
released Jun 29
Download Now
filename test/sh4/README
changeset 225:e5cea6125580
author nkeynes
date Thu Jul 24 07:27:48 2008 +0000 (15 years ago)
permissions -rw-r--r--
last change Halt emulation after reporting an error
file annotate diff log raw
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).
.