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