1 # frv testcase for cldbfu @($GRi,$GRj),$FRk,$CCi,$cond
4 .include "testutils.inc"
10 set_spr_immed 0x1b1b,cccr
14 set_mem_limmed 0xdead,0xbeef,sp
15 set_fr_iimmed 0xbeef,0xdead,fr8
18 cldbfu @(sp,gr7),fr8,cc0,1
19 test_fr_limmed 0x0000,0x00de,fr8
24 cldbfu @(sp,gr7),fr8,cc0,1
25 test_fr_limmed 0x0000,0x00ad,fr8
30 set_mem_limmed 0xffff,0xff00,sp
33 cldbfu @(sp,gr7),fr8,cc4,1
34 test_fr_limmed 0x0000,0x0000,fr8
39 set_mem_limmed 0xdead,0xbeef,sp
40 set_fr_iimmed 0xbeef,0xdead,fr8
43 cldbfu @(sp,gr7),fr8,cc0,0
44 test_fr_limmed 0xbeef,0xdead,fr8
48 cldbfu @(sp,gr7),fr8,cc0,0
49 test_fr_limmed 0xbeef,0xdead,fr8
52 set_mem_limmed 0xffff,0xff00,sp
56 cldbfu @(sp,gr7),fr8,cc4,0
57 test_fr_limmed 0xbeef,0xdead,fr8
62 set_mem_limmed 0xdead,0xbeef,sp
63 set_fr_iimmed 0xbeef,0xdead,fr8
66 cldbfu @(sp,gr7),fr8,cc1,0
67 test_fr_limmed 0x0000,0x00de,fr8
72 cldbfu @(sp,gr7),fr8,cc1,0
73 test_fr_limmed 0x0000,0x00ad,fr8
78 set_mem_limmed 0xffff,0xff00,sp
81 cldbfu @(sp,gr7),fr8,cc5,0
82 test_fr_limmed 0x0000,0x0000,fr8
87 set_mem_limmed 0xdead,0xbeef,sp
88 set_fr_iimmed 0xbeef,0xdead,fr8
91 cldbfu @(sp,gr7),fr8,cc1,1
92 test_fr_limmed 0xbeef,0xdead,fr8
96 cldbfu @(sp,gr7),fr8,cc1,1
97 test_fr_limmed 0xbeef,0xdead,fr8
100 set_mem_limmed 0xffff,0xff00,sp
104 cldbfu @(sp,gr7),fr8,cc5,1
105 test_fr_limmed 0xbeef,0xdead,fr8
110 set_mem_limmed 0xdead,0xbeef,sp
111 set_fr_iimmed 0xbeef,0xdead,fr8
114 cldbfu @(sp,gr7),fr8,cc2,0
115 test_fr_limmed 0xbeef,0xdead,fr8
119 cldbfu @(sp,gr7),fr8,cc2,1
120 test_fr_limmed 0xbeef,0xdead,fr8
123 set_mem_limmed 0xffff,0xff00,sp
127 cldbfu @(sp,gr7),fr8,cc6,0
128 test_fr_limmed 0xbeef,0xdead,fr8
133 set_mem_limmed 0xdead,0xbeef,sp
134 set_fr_iimmed 0xbeef,0xdead,fr8
137 cldbfu @(sp,gr7),fr8,cc3,1
138 test_fr_limmed 0xbeef,0xdead,fr8
142 cldbfu @(sp,gr7),fr8,cc3,0
143 test_fr_limmed 0xbeef,0xdead,fr8
146 set_mem_limmed 0xffff,0xff00,sp
150 cldbfu @(sp,gr7),fr8,cc7,1
151 test_fr_limmed 0xbeef,0xdead,fr8