Automatic date update in version.in
[binutils-gdb.git] / sim / testsuite / frv / cnot.cgs
blob3169887914dc30094397714a12a6f01e748d15be
1 # frv testcase for cnot $GRj,$GRk
2 # mach: all
4         .include "testutils.inc"
6         start
8         .global cnot
9 cnot:
10         set_spr_immed   0x1b1b,cccr
12         set_gr_limmed   0xaaaa,0xaaaa,gr7
13         cnot            gr7,gr7,cc0,1
14         test_gr_limmed  0x5555,0x5555,gr7
16         set_gr_limmed   0xdead,0xbeef,gr7
17         cnot            gr7,gr7,cc4,1
18         test_gr_limmed  0x2152,0x4110,gr7
20         set_gr_limmed   0xaaaa,0xaaaa,gr7
21         cnot            gr7,gr7,cc0,0
22         test_gr_limmed  0xaaaa,0xaaaa,gr7
24         set_gr_limmed   0xdead,0xbeef,gr7
25         cnot            gr7,gr7,cc4,0
26         test_gr_limmed  0xdead,0xbeef,gr7
28         set_gr_limmed   0xaaaa,0xaaaa,gr7
29         cnot            gr7,gr7,cc1,0
30         test_gr_limmed  0x5555,0x5555,gr7
32         set_gr_limmed   0xdead,0xbeef,gr7
33         cnot            gr7,gr7,cc5,0
34         test_gr_limmed  0x2152,0x4110,gr7
36         set_gr_limmed   0xaaaa,0xaaaa,gr7
37         cnot            gr7,gr7,cc1,1
38         test_gr_limmed  0xaaaa,0xaaaa,gr7
40         set_gr_limmed   0xdead,0xbeef,gr7
41         cnot            gr7,gr7,cc5,1
42         test_gr_limmed  0xdead,0xbeef,gr7
44         set_gr_limmed   0xaaaa,0xaaaa,gr7
45         cnot            gr7,gr7,cc2,0
46         test_gr_limmed  0xaaaa,0xaaaa,gr7
48         set_gr_limmed   0xdead,0xbeef,gr7
49         cnot            gr7,gr7,cc6,1
50         test_gr_limmed  0xdead,0xbeef,gr7
52         set_gr_limmed   0xaaaa,0xaaaa,gr7
53         cnot            gr7,gr7,cc3,0
54         test_gr_limmed  0xaaaa,0xaaaa,gr7
56         set_gr_limmed   0xdead,0xbeef,gr7
57         cnot            gr7,gr7,cc7,1
58         test_gr_limmed  0xdead,0xbeef,gr7
60         pass