1 # frv testcase for ccmp $GRi,$GRj,$CCi,$cond
4 .include "testutils.inc"
10 set_spr_immed 0x1b1b,cccr
14 set_icc 0x0f,0 ; Set mask opposite of expected
19 set_gr_limmed 0x8000,0x0000,gr8
20 set_icc 0x0d,0 ; Set mask opposite of expected
24 set_icc 0x0b,0 ; Set mask opposite of expected
29 set_icc 0x06,0 ; Set mask opposite of expected
35 set_icc 0x0f,0 ; Set mask opposite of expected
40 set_gr_limmed 0x8000,0x0000,gr8
41 set_icc 0x0d,0 ; Set mask opposite of expected
45 set_icc 0x0b,0 ; Set mask opposite of expected
49 set_icc 0x06,0 ; Set mask opposite of expected
55 set_icc 0x0f,1 ; Set mask opposite of expected
60 set_gr_limmed 0x8000,0x0000,gr8
61 set_icc 0x0d,1 ; Set mask opposite of expected
65 set_icc 0x0b,1 ; Set mask opposite of expected
70 set_icc 0x06,1 ; Set mask opposite of expected
76 set_icc 0x0f,1 ; Set mask opposite of expected
81 set_gr_limmed 0x8000,0x0000,gr8
82 set_icc 0x0d,1 ; Set mask opposite of expected
86 set_icc 0x0b,1 ; Set mask opposite of expected
90 set_icc 0x06,1 ; Set mask opposite of expected
96 set_icc 0x0f,2 ; Set mask opposite of expected
101 set_gr_limmed 0x8000,0x0000,gr8
102 set_icc 0x0d,2 ; Set mask opposite of expected
104 test_icc 1 1 0 1 icc2
106 set_icc 0x0b,2 ; Set mask opposite of expected
108 test_icc 1 0 1 1 icc2
110 set_icc 0x06,2 ; Set mask opposite of expected
112 test_icc 0 1 1 0 icc2
116 set_icc 0x0f,3 ; Set mask opposite of expected
118 test_icc 1 1 1 1 icc3
121 set_gr_limmed 0x8000,0x0000,gr8
122 set_icc 0x0d,3 ; Set mask opposite of expected
124 test_icc 1 1 0 1 icc3
126 set_icc 0x0b,3 ; Set mask opposite of expected
128 test_icc 1 0 1 1 icc3
130 set_icc 0x06,3 ; Set mask opposite of expected
132 test_icc 0 1 1 0 icc3