1.1 --- a/test/sh4/excslot.s Tue Sep 26 11:05:38 2006 +0000
1.2 +++ b/test/sh4/excslot.s Sat Jan 06 04:08:11 2007 +0000
1.6 assert_exc_caught test_slot_str_k1 test_slot_2_pc
1.10 - .long test_slot_str
1.18 - assert_exc_caught test_slot_str_k test_slot_3_pc
1.19 + assert_exc_caught test_slot_str_k1 test_slot_3_pc
1.24 bt/s test_slot_10_fail
1.26 assert_exc_caught test_slot_str_k test_slot_10_pc
1.30 + .long test_slot_str
1.33 test_slot_11: ! TRAPA
1.35 expect_exc 0x000001A0
1.36 @@ -171,8 +172,19 @@
1.38 ! Ok now the privilege tests. These should raise SLOT_ILLEGAL when executed
1.39 ! in a delay slot (otherwise it's GENERAL_ILLEGAL)
1.40 -! TODO: need mode-switch code
1.42 +test_slot_18: ! LDC Rn, SPC in user mode
1.44 + expect_exc 0x000001A0
1.48 + bsr test_slot_fail
1.51 + assert_exc_caught test_slot_str_k test_slot_18_pc
1.55 end_test test_slot_str_k