filename | test/sh4/inc.s |
changeset | 555:309c97260912 |
prev | 357:3592a10b3242 |
author | nkeynes |
date | Thu Dec 23 17:50:10 2010 +1000 (13 years ago) |
permissions | -rw-r--r-- |
last change | Clone iso_memory_stream_new() as iso_mem_stream_new(), since current versions of libisofs have made it unlinkable on linux |
file | annotate | diff | log | raw |
1.1 --- a/test/sh4/inc.s Tue Feb 13 08:34:27 2007 +00001.2 +++ b/test/sh4/inc.s Thu Dec 23 17:50:10 2010 +10001.3 @@ -240,6 +240,24 @@1.4 L3:1.5 .endm1.7 +.macro assert_tlb_exc_caught testname, expectpc, expectvpn1.8 +LOCAL L1, L2, L31.9 + mov.l L1, r31.10 + mov.l \testname, r41.11 + mov r12, r51.12 + mov.l L2, r61.13 + mov.l \expectvpn, r71.14 + jsr @r31.15 + nop1.16 + add r0, r131.17 + bra L31.18 + nop1.19 +.align 41.20 +L1: .long _assert_exception_caught1.21 +L2: .long \expectpc1.22 +L3:1.23 +.endm1.24 +1.25 .align 21.26 assert_t_set_message:1.27 .string "Expected T=1 but was 0"
.