Search
lxdream.org :: lxdream/test/sh4/README :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename test/sh4/README
changeset 225:e5cea6125580
author nkeynes
date Sun Dec 14 07:50:48 2008 +0000 (15 years ago)
permissions -rw-r--r--
last change Setup a 'proper' stackframe in translated blocks. This doesn't affect performance noticeably,
but does ensure that
a) The stack is aligned correctly on OS X with no extra effort, and
b) We can't mess up the stack and crash that way anymore.
Replace all PUSH/POP instructions (outside of prologue/epilogue) with ESP-rel moves to stack
local variables.
Finally merge ia32mac and ia32abi together, since they're pretty much the same now anyway (and
thereby simplifying maintenance a good deal)
file annotate diff log raw
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/test/sh4/README Sun Dec 14 07:50:48 2008 +0000
1.3 @@ -0,0 +1,11 @@
1.4 +SH4 instruction set tests.
1.5 +Each core instruction has its own set of tests that are assembled into the
1.6 +main test executable.
1.7 +
1.8 +Note: Since each instruction's tests obviously depends on other
1.9 +instructions, its possible for multiple bugs to cancel each other out.
1.10 +However the tests are structured as much as possible to prevent this.
1.11 +
1.12 +Each test loops repeatedly for a constant number of times (currently 1000)
1.13 +to a) ensure that dynamic recompilation kicks in and recompiles the block,
1.14 +and b) allow the code to be timed (to a first approximation anyway).
.