1 # frv testcase for cstbfu $FRk,@($GRi,$GRj),$CCi,$cond
4 .include "testutils.inc"
10 set_spr_immed 0x1b1b,cccr
13 set_mem_limmed 0xdead,0xbeef,sp
16 set_fr_iimmed 0xffff,0xffff,fr8
17 cstbfu fr8,@(sp,gr7),cc0,1
18 test_mem_limmed 0xffad,0xbeef,gr20
23 set_fr_iimmed 0xffff,0xffaa,fr8
24 cstbfu fr8,@(sp,gr7),cc0,1
25 test_mem_limmed 0xffad,0xaaef,gr20
31 set_fr_iimmed 0xffff,0xffbb,fr8
32 cstbfu fr8,@(sp,gr7),cc4,1
33 test_mem_limmed 0xffad,0xaabb,gr20
38 set_mem_limmed 0xdead,0xbeef,sp
40 set_fr_iimmed 0xffff,0xffff,fr8
41 cstbfu fr8,@(sp,gr7),cc0,0
42 test_mem_limmed 0xdead,0xbeef,gr20
46 set_fr_iimmed 0xffff,0xffaa,fr8
47 cstbfu fr8,@(sp,gr7),cc0,0
48 test_mem_limmed 0xdead,0xbeef,gr20
54 set_fr_iimmed 0xffff,0xffbb,fr8
55 cstbfu fr8,@(sp,gr7),cc4,0
56 test_mem_limmed 0xdead,0xbeef,gr20
60 set_mem_limmed 0xdead,0xbeef,sp
63 set_fr_iimmed 0xffff,0xffff,fr8
64 cstbfu fr8,@(sp,gr7),cc1,0
65 test_mem_limmed 0xffad,0xbeef,gr20
70 set_fr_iimmed 0xffff,0xffaa,fr8
71 cstbfu fr8,@(sp,gr7),cc1,0
72 test_mem_limmed 0xffad,0xaaef,gr20
78 set_fr_iimmed 0xffff,0xffbb,fr8
79 cstbfu fr8,@(sp,gr7),cc5,0
80 test_mem_limmed 0xffad,0xaabb,gr20
85 set_mem_limmed 0xdead,0xbeef,sp
87 set_fr_iimmed 0xffff,0xffff,fr8
88 cstbfu fr8,@(sp,gr7),cc1,1
89 test_mem_limmed 0xdead,0xbeef,gr20
93 set_fr_iimmed 0xffff,0xffaa,fr8
94 cstbfu fr8,@(sp,gr7),cc1,1
95 test_mem_limmed 0xdead,0xbeef,gr20
101 set_fr_iimmed 0xffff,0xffbb,fr8
102 cstbfu fr8,@(sp,gr7),cc5,1
103 test_mem_limmed 0xdead,0xbeef,gr20
108 set_mem_limmed 0xdead,0xbeef,sp
110 set_fr_iimmed 0xffff,0xffff,fr8
111 cstbfu fr8,@(sp,gr7),cc2,0
112 test_mem_limmed 0xdead,0xbeef,gr20
116 set_fr_iimmed 0xffff,0xffaa,fr8
117 cstbfu fr8,@(sp,gr7),cc2,1
118 test_mem_limmed 0xdead,0xbeef,gr20
124 set_fr_iimmed 0xffff,0xffbb,fr8
125 cstbfu fr8,@(sp,gr7),cc6,0
126 test_mem_limmed 0xdead,0xbeef,gr20
131 set_mem_limmed 0xdead,0xbeef,sp
133 set_fr_iimmed 0xffff,0xffff,fr8
134 cstbfu fr8,@(sp,gr7),cc3,1
135 test_mem_limmed 0xdead,0xbeef,gr20
139 set_fr_iimmed 0xffff,0xffaa,fr8
140 cstbfu fr8,@(sp,gr7),cc3,0
141 test_mem_limmed 0xdead,0xbeef,gr20
147 set_fr_iimmed 0xffff,0xffbb,fr8
148 cstbfu fr8,@(sp,gr7),cc7,1
149 test_mem_limmed 0xdead,0xbeef,gr20