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
- 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
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
(as can happen if we try to print a translated block that's been unmapped)
src/sh4/sh4dasm.in
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
src/sh4/sh4.c
src/sh4/sh4trans.c
src/sh4/sh4trans.h
src/xlat/xltcache.c
src/xlat/xltcache.h
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
src/eventq.c
src/sh4/intc.c
src/sh4/sh4.c
src/sh4/sh4.h
src/sh4/sh4core.in
src/sh4/sh4trans.c
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
(~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
Add block profiling option to count the number of executions of each block,
and dump them out from most-to-least used.
src/sh4/sh4.c
src/sh4/sh4trans.h
src/sh4/sh4x86.in
src/xlat/xltcache.c
src/xlat/xltcache.h
and dump them out from most-to-least used.
src/sh4/sh4.c
src/sh4/sh4trans.h
src/sh4/sh4x86.in
src/xlat/xltcache.c
src/xlat/xltcache.h
.