Search
lxdream.org :: lxdream :: changelog
lxdream 0.9.1
released Jun 29
Download Now

12 years agoHandle branch delay-slot instruction that falls on the next page correctly.
nkeynes [Mon, 12 Dec 2011 21:15:44 +1000]  tree
Handle branch delay-slot instruction that falls on the next page correctly.
- Generate the right end PC in the first place (sh4trans.c)
- Allow blocks to be marked as both entry point + continuation, and
specifically handle invalidation when first entry of a page is a continuation ==
flush previous page as well.
src/sh4/sh4trans.c
src/test/testxlt.c
src/xlat/xltcache.c
src/xlat/xltcache.h


12 years agoHandle memory exceptions thrown while in shadow mode
nkeynes [Mon, 12 Dec 2011 21:13:36 +1000]  tree
Handle memory exceptions thrown while in shadow mode
src/sh4/sh4.c
src/sh4/sh4core.h
src/sh4/sh4x86.in
src/sh4/shadow.c


12 years agoFix MAC.W operand ordering - reads from Rn first, then Rm (per the manual)
nkeynes [Mon, 12 Dec 2011 21:10:04 +1000]  tree
Fix MAC.W operand ordering - reads from Rn first, then Rm (per the manual)
src/sh4/sh4core.in
src/sh4/sh4x86.in


12 years agoFSRRA uses higher precision for intermediate results - change sqrtf to sqrt.
nkeynes [Mon, 12 Dec 2011 09:54:27 +1000]  tree
FSRRA uses higher precision for intermediate results - change sqrtf to sqrt.
src/sh4/sh4core.in
test/Makefile.in
test/sh4/fsrra.s
test/sh4/testsh4.c


12 years agoSH4 shadow-mode tweaks
nkeynes [Fri, 02 Dec 2011 18:18:04 +1000]  tree
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
src/sh4/sh4x86.in
src/sh4/shadow.c
src/xlat/x86/x86op.h


12 years agoHandle calls to sh4_disasm_instruction when the memory isn't mapped
nkeynes [Fri, 02 Dec 2011 18:14:27 +1000]  tree
Handle calls to sh4_disasm_instruction when the memory isn't mapped
(as can happen if we try to print a translated block that's been unmapped)
src/sh4/sh4dasm.in


12 years agoFix make check
nkeynes [Thu, 01 Dec 2011 08:02:13 +1000]  tree
Fix make check
src/sh4/sh4.h
src/test/testsh4x86.c
src/test/testxlt.c
src/xlat/xltcache.c


12 years agoRearrange the profile dump code so as to avoid xlat => SH4 references
Nathan Keynes <nkeynes@lxdream.org> [Thu, 01 Dec 2011 01:50:44 +1000]  tree
Rearrange the profile dump code so as to avoid xlat => SH4 references
src/sh4/sh4.c
src/sh4/sh4trans.c
src/sh4/sh4trans.h
src/xlat/xltcache.c
src/xlat/xltcache.h


12 years agoRefactor event processing into sh4_handle_pending_events()
nkeynes [Tue, 29 Nov 2011 17:52:43 +1000]  tree
Refactor event processing into sh4_handle_pending_events()
src/eventq.c
src/sh4/intc.c
src/sh4/sh4.c
src/sh4/sh4.h
src/sh4/sh4core.in
src/sh4/sh4trans.c


12 years agoAdd support for block linking when the block target is fixed. Only a small
nkeynes [Tue, 29 Nov 2011 17:11:40 +1000]  tree
Add support for block linking when the block target is fixed. Only a small
(~3% improvement) so far.
src/sh4/sh4trans.h
src/sh4/sh4x86.in
src/xlat/x86/x86op.h
src/xlat/xltcache.c
src/xlat/xltcache.h


.