Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / bctrlr.cgs
blobb00cb97aaf828e3281a7e4e1390c9aee26ce8868
1 # frv testcase for bctrlr $ccond,$hint
2 # mach: all
4         .include "testutils.inc"
6         start
8         .global bctrlr
9 bctrlr:
10         set_spr_addr    bad,lr
11         set_spr_immed   1,lcr
12         bctrlr          0,0
14         set_spr_addr    ok1,lr
15         set_spr_immed   2,lcr
16         bctrlr          0,0
17         fail
18 ok1:
19         set_spr_addr    bad,lr
20         set_spr_immed   2,lcr
21         bctrlr          1,0
23         set_spr_addr    ok2,lr
24         bctrlr          1,0
25         fail
26 ok2:
27         pass
28 bad:
29         fail