Search
lxdream.org :: lxdream/test/sh4/bf.s :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename test/sh4/bf.s
changeset 872:a3041742bb7d
prev231:a9e61a96a885
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/sh4/bf.s Tue Sep 26 11:05:38 2006 +0000
1.2 +++ b/test/sh4/bf.s Fri Dec 02 18:18:04 2011 +1000
1.3 @@ -125,13 +125,30 @@
1.4 bf/s test_bf_8_b
1.5 nop
1.6 assert_exc_caught test_bf_str_k test_bf_8_exc
1.7 - bra test_bf_end
1.8 + bra test_bf_9
1.9 nop
1.10 test_bf_8_b:
1.11 test_bf_8_c:
1.12 fail test_bf_str_k
1.13
1.14 -
1.15 +test_bf_9: ! Regression test that sets does not affect branch
1.16 + add #1, r12
1.17 + clrt
1.18 + sets
1.19 + bf test_bf_10
1.20 + fail test_bf_str_k
1.21 +
1.22 +test_bf_10: ! Regression test that clrs does not affect branch
1.23 + add #1, r12
1.24 + sett
1.25 + clrs
1.26 + bf test_bf_10_a
1.27 + bra test_bf_end
1.28 + nop
1.29 +
1.30 +test_bf_10_a:
1.31 + fail test_bf_str_k
1.32 +
1.33 test_bf_end:
1.34 end_test test_bf_str_k
1.35
.