RISC-V: Cleanup the imply code and test cases for vendor xsf extensions.
[binutils-gdb.git] / sim / testsuite / frv / orcr.cgs
bloba5114b248e7df0a25b3e2228f7e97c4637b02a98
1 # frv testcase for orcr $CCi,$CCj,$CCk
2 # mach: all
4         .include "testutils.inc"
6         start
8         .global orcr
9 orcr:
10         set_spr_immed   0x1b1b,cccr
11         orcr            cc7,cc7,cc3
12         test_spr_immed  0x1b1b,cccr
14         orcr            cc7,cc6,cc3
15         test_spr_immed  0x1b1b,cccr
17         orcr            cc7,cc5,cc3
18         test_spr_immed  0x1b9b,cccr
20         orcr            cc7,cc4,cc3
21         test_spr_immed  0x1bdb,cccr
23         orcr            cc6,cc7,cc3
24         test_spr_immed  0x1b1b,cccr
26         orcr            cc6,cc6,cc3
27         test_spr_immed  0x1b1b,cccr
29         orcr            cc6,cc5,cc3
30         test_spr_immed  0x1b9b,cccr
32         orcr            cc6,cc4,cc3
33         test_spr_immed  0x1bdb,cccr
35         orcr            cc5,cc7,cc3
36         test_spr_immed  0x1b9b,cccr
38         orcr            cc5,cc6,cc3
39         test_spr_immed  0x1b9b,cccr
41         orcr            cc5,cc5,cc3
42         test_spr_immed  0x1b9b,cccr
44         orcr            cc5,cc4,cc3
45         test_spr_immed  0x1bdb,cccr
47         orcr            cc4,cc7,cc3
48         test_spr_immed  0x1bdb,cccr
50         orcr            cc4,cc6,cc3
51         test_spr_immed  0x1bdb,cccr
53         orcr            cc4,cc5,cc3
54         test_spr_immed  0x1bdb,cccr
56         orcr            cc4,cc4,cc3
57         test_spr_immed  0x1bdb,cccr
59         pass