]>
Commit | Line | Data |
---|---|---|
4a306116 DB |
1 | # frv testcase for andcr $CCi,$CCj,$CCk |
2 | # mach: all | |
3 | ||
4 | .include "testutils.inc" | |
5 | ||
6 | start | |
7 | ||
8 | .global andcr | |
9 | andcr: | |
10 | set_spr_immed 0x1b1b,cccr | |
11 | andcr cc7,cc7,cc3 | |
12 | test_spr_immed 0x1b1b,cccr | |
13 | ||
14 | andcr cc7,cc6,cc3 | |
15 | test_spr_immed 0x1b1b,cccr | |
16 | ||
17 | andcr cc7,cc5,cc3 | |
18 | test_spr_immed 0x1b1b,cccr | |
19 | ||
20 | andcr cc7,cc4,cc3 | |
21 | test_spr_immed 0x1b1b,cccr | |
22 | ||
23 | andcr cc6,cc7,cc3 | |
24 | test_spr_immed 0x1b1b,cccr | |
25 | ||
26 | andcr cc6,cc6,cc3 | |
27 | test_spr_immed 0x1b1b,cccr | |
28 | ||
29 | andcr cc6,cc5,cc3 | |
30 | test_spr_immed 0x1b1b,cccr | |
31 | ||
32 | andcr cc6,cc4,cc3 | |
33 | test_spr_immed 0x1b1b,cccr | |
34 | ||
35 | andcr cc5,cc7,cc3 | |
36 | test_spr_immed 0x1b1b,cccr | |
37 | ||
38 | andcr cc5,cc6,cc3 | |
39 | test_spr_immed 0x1b1b,cccr | |
40 | ||
41 | andcr cc5,cc5,cc3 | |
42 | test_spr_immed 0x1b1b,cccr | |
43 | ||
44 | andcr cc5,cc4,cc3 | |
45 | test_spr_immed 0x1b1b,cccr | |
46 | ||
47 | andcr cc4,cc7,cc3 | |
48 | test_spr_immed 0x1b1b,cccr | |
49 | ||
50 | andcr cc4,cc6,cc3 | |
51 | test_spr_immed 0x1b1b,cccr | |
52 | ||
53 | andcr cc4,cc5,cc3 | |
54 | test_spr_immed 0x1b9b,cccr | |
55 | ||
56 | andcr cc4,cc4,cc3 | |
57 | test_spr_immed 0x1bdb,cccr | |
58 | ||
59 | pass |