Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / nandcr.cgs
blob8d3298fd7879cdd28013e2262f20fde48a6f0646
1 # frv testcase for nandcr $CCi,$CCj,$CCk
2 # mach: all
4         .include "testutils.inc"
6         start
8         .global nandcr
9 nandcr:
10         set_spr_immed   0x1b1b,cccr
11         nandcr          cc7,cc7,cc3
12         test_spr_immed  0x1b1b,cccr
14         nandcr          cc7,cc6,cc3
15         test_spr_immed  0x1b1b,cccr
17         nandcr          cc7,cc5,cc3
18         test_spr_immed  0x1b1b,cccr
20         nandcr          cc7,cc4,cc3
21         test_spr_immed  0x1b1b,cccr
23         nandcr          cc6,cc7,cc3
24         test_spr_immed  0x1b1b,cccr
26         nandcr          cc6,cc6,cc3
27         test_spr_immed  0x1b1b,cccr
29         nandcr          cc6,cc5,cc3
30         test_spr_immed  0x1b1b,cccr
32         nandcr          cc6,cc4,cc3
33         test_spr_immed  0x1b1b,cccr
35         nandcr          cc5,cc7,cc3
36         test_spr_immed  0x1b1b,cccr
38         nandcr          cc5,cc6,cc3
39         test_spr_immed  0x1b1b,cccr
41         nandcr          cc5,cc5,cc3
42         test_spr_immed  0x1b1b,cccr
44         nandcr          cc5,cc4,cc3
45         test_spr_immed  0x1b1b,cccr
47         nandcr          cc4,cc7,cc3
48         test_spr_immed  0x1b1b,cccr
50         nandcr          cc4,cc6,cc3
51         test_spr_immed  0x1b1b,cccr
53         nandcr          cc4,cc5,cc3
54         test_spr_immed  0x1bdb,cccr
56         nandcr          cc4,cc4,cc3
57         test_spr_immed  0x1b9b,cccr
59         pass