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 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)
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).
.