Search
lxdream.org :: lxdream/test/lib/crt0.s :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename test/lib/crt0.s
changeset 976:e57a25d9eb7d
prev812:8cc61d5ea1f8
author nkeynes
date Fri Dec 02 18:18:04 2011 +1000 (12 years ago)
permissions -rw-r--r--
last change 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
file annotate diff log raw
1.1 --- a/test/lib/crt0.s Wed Aug 13 10:32:00 2008 +0000
1.2 +++ b/test/lib/crt0.s Fri Dec 02 18:18:04 2011 +1000
1.3 @@ -47,6 +47,9 @@
1.4 lds r3,fpscr
1.5 #endif /* defined (__SH3E__) || defined(__SH4_SINGLE__) || defined(__SH4__) || defined(__SH4_SINGLE_ONLY__) */
1.6
1.7 + mov.l sr_data, r1
1.8 + ldc r1, sr
1.9 +
1.10 ! call the mainline
1.11 mov.l main_k,r0
1.12 jsr @r0
1.13 @@ -103,6 +106,8 @@
1.14 .long start_2
1.15 p2_mask:
1.16 .long 0xa0000000
1.17 +sr_data:
1.18 + .long 0x400000f0
1.19 ccr_addr:
1.20 .long 0xff00001c
1.21 ccr_data:
.