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