1 # frv testcase for cstf $FRk,@($GRi,$GRj),$CCi,$cond
4 .include "testutils.inc"
10 set_spr_immed 0x1b1b,cccr
13 set_mem_limmed 0xdead,0xbeef,sp
15 set_fr_iimmed 0xffff,0xffff,fr8
16 cstf fr8,@(sp,gr7),cc0,1
17 test_mem_limmed 0xffff,0xffff,gr20
21 set_fr_iimmed 0xeeee,0xeeee,fr8
22 cstf fr8,@(sp,gr7),cc0,1
23 test_mem_limmed 0xeeee,0xeeee,gr20
27 set_fr_iimmed 0xdddd,0xdddd,fr8
28 cstf fr8,@(sp,gr7),cc4,1
29 test_mem_limmed 0xdddd,0xdddd,gr20
32 set_mem_limmed 0xdead,0xbeef,sp
34 set_fr_iimmed 0xffff,0xffff,fr8
35 cstf fr8,@(sp,gr7),cc0,0
36 test_mem_limmed 0xdead,0xbeef,gr20
40 set_fr_iimmed 0xeeee,0xeeee,fr8
41 cstf fr8,@(sp,gr7),cc0,0
42 test_mem_limmed 0xdead,0xbeef,gr20
46 set_fr_iimmed 0xdddd,0xdddd,fr8
47 cstf fr8,@(sp,gr7),cc4,0
48 test_mem_limmed 0xdead,0xbeef,gr20
51 set_mem_limmed 0xdead,0xbeef,sp
53 set_fr_iimmed 0xffff,0xffff,fr8
54 cstf fr8,@(sp,gr7),cc1,0
55 test_mem_limmed 0xffff,0xffff,gr20
59 set_fr_iimmed 0xeeee,0xeeee,fr8
60 cstf fr8,@(sp,gr7),cc1,0
61 test_mem_limmed 0xeeee,0xeeee,gr20
65 set_fr_iimmed 0xdddd,0xdddd,fr8
66 cstf fr8,@(sp,gr7),cc5,0
67 test_mem_limmed 0xdddd,0xdddd,gr20
70 set_mem_limmed 0xdead,0xbeef,sp
72 set_fr_iimmed 0xffff,0xffff,fr8
73 cstf fr8,@(sp,gr7),cc1,1
74 test_mem_limmed 0xdead,0xbeef,gr20
78 set_fr_iimmed 0xeeee,0xeeee,fr8
79 cstf fr8,@(sp,gr7),cc1,1
80 test_mem_limmed 0xdead,0xbeef,gr20
84 set_fr_iimmed 0xdddd,0xdddd,fr8
85 cstf fr8,@(sp,gr7),cc5,1
86 test_mem_limmed 0xdead,0xbeef,gr20
89 set_mem_limmed 0xdead,0xbeef,sp
91 set_fr_iimmed 0xffff,0xffff,fr8
92 cstf fr8,@(sp,gr7),cc2,0
93 test_mem_limmed 0xdead,0xbeef,gr20
97 set_fr_iimmed 0xeeee,0xeeee,fr8
98 cstf fr8,@(sp,gr7),cc2,1
99 test_mem_limmed 0xdead,0xbeef,gr20
103 set_fr_iimmed 0xdddd,0xdddd,fr8
104 cstf fr8,@(sp,gr7),cc6,0
105 test_mem_limmed 0xdead,0xbeef,gr20
108 set_mem_limmed 0xdead,0xbeef,sp
110 set_fr_iimmed 0xffff,0xffff,fr8
111 cstf fr8,@(sp,gr7),cc3,1
112 test_mem_limmed 0xdead,0xbeef,gr20
116 set_fr_iimmed 0xeeee,0xeeee,fr8
117 cstf fr8,@(sp,gr7),cc3,0
118 test_mem_limmed 0xdead,0xbeef,gr20
122 set_fr_iimmed 0xdddd,0xdddd,fr8
123 cstf fr8,@(sp,gr7),cc7,1
124 test_mem_limmed 0xdead,0xbeef,gr20