filename | test/lib/crt0.s |
changeset | 976:e57a25d9eb7d |
prev | 812: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 +00001.2 +++ b/test/lib/crt0.s Fri Dec 02 18:18:04 2011 +10001.3 @@ -47,6 +47,9 @@1.4 lds r3,fpscr1.5 #endif /* defined (__SH3E__) || defined(__SH4_SINGLE__) || defined(__SH4__) || defined(__SH4_SINGLE_ONLY__) */1.7 + mov.l sr_data, r11.8 + ldc r1, sr1.9 +1.10 ! call the mainline1.11 mov.l main_k,r01.12 jsr @r01.13 @@ -103,6 +106,8 @@1.14 .long start_21.15 p2_mask:1.16 .long 0xa00000001.17 +sr_data:1.18 + .long 0x400000f01.19 ccr_addr:1.20 .long 0xff00001c1.21 ccr_data:
.