filename | test/sh4/bf.s |
changeset | 231:a9e61a96a885 |
prev | 228:70adc8ffa8d1 |
next | 872:a3041742bb7d |
author | nkeynes |
date | Thu Jul 24 07:27:48 2008 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Halt emulation after reporting an error |
file | annotate | diff | log | raw |
1.1 --- a/test/sh4/bf.s Mon Sep 25 11:13:56 2006 +00001.2 +++ b/test/sh4/bf.s Thu Jul 24 07:27:48 2008 +00001.3 @@ -42,6 +42,7 @@1.4 fail test_bf_str_k1.5 bra test_bf_41.6 nop1.7 +1.8 test_bf_4: ! Test branch not taken w/ delay1.9 add #1, r121.10 setc1.11 @@ -74,19 +75,63 @@1.12 bt test_bf_61.13 fail test_bf_str_k1.15 -test_bf_6:1.16 +test_bf_6: ! Test back-branch taken w/ delay1.17 + add #1, r121.18 + clc1.19 + xor r0, r01.20 + bra test_bf_6_b1.21 + nop1.22 + fail test_bf_str_k1.23 + bra test_bf_71.24 + nop1.25 + add #1, r131.26 +test_bf_6_c:1.27 + mov #1, r11.28 + cmp/eq r0, r11.29 + bt test_bf_71.30 + fail test_bf_str_k1.31 + bra test_bf_71.32 + nop1.33 + fail test_bf_str_k1.34 + bra test_bf_71.35 + nop1.36 + add #1, r131.37 +test_bf_6_b:1.38 + nop1.39 + bf/s test_bf_6_c1.40 + add #1, r01.41 + fail test_bf_str_k1.42 + bra test_bf_71.43 + nop1.44 +1.45 +test_bf_7:1.46 add #1, r121.47 expect_exc 0x000001A0 ! BF is slot illegal1.48 -test_bf_6_exc:1.49 - bra test_bf_6_b1.50 - bf test_bf_6_b1.51 - assert_exc_caught test_bf_str_k test_bf_6_exc1.52 +test_bf_7_exc:1.53 + bra test_bf_7_b1.54 + bf test_bf_7_b1.55 + assert_exc_caught test_bf_str_k test_bf_7_exc1.56 + bra test_bf_81.57 + nop1.58 +test_bf_7_b:1.59 +test_bf_7_c:1.60 + fail test_bf_str_k1.61 +1.62 +test_bf_8:1.63 + add #1, r121.64 + expect_exc 0x000001A0 ! BF/S is slot illegal1.65 +test_bf_8_exc:1.66 + bra test_bf_8_b1.67 + bf/s test_bf_8_b1.68 + nop1.69 + assert_exc_caught test_bf_str_k test_bf_8_exc1.70 bra test_bf_end1.71 nop1.72 -test_bf_6_b:1.73 -test_bf_6_c:1.74 +test_bf_8_b:1.75 +test_bf_8_c:1.76 fail test_bf_str_k1.77 -1.78 +1.79 +1.80 test_bf_end:1.81 end_test test_bf_str_k
.