Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / call.pcgs
blob7f452c664f6d5902adacd752b48557ce2a8cf6a0
1 # frv parallel testcase for call $label24
2 # mach: fr500 fr550 frv
4         .include "testutils.inc"
6         start
8         .global call
9 call:
10         set_spr_immed   0,lr
11         call            ok1
12 bad1:
13         fail
14 ok1:
15         test_spr_addr   bad1,lr
17         set_spr_immed   0,lr
18         setlos.p        0,gr5
19         call.p          ok2
20         bra             bad3
21 bad2:
22         setlos          5,gr5
23         fail
24 bad3:
25         fail
26 ok2:
27         test_spr_addr   bad2,lr
28         test_gr_immed   0,gr5
30         pass