OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [frv/] [cstdfu.cgs] - Blame information for rev 272

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# frv testcase for cstdfu $GRk,@($GRi,$GRj),$CCi,$cond
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global cstdfu
9
cstdfu:
10
        set_spr_immed   0x1b1b,cccr
11
        set_gr_gr       sp,gr20
12
 
13
        set_mem_limmed  0xbeef,0xdead,sp
14
        inc_gr_immed    -4,sp
15
        set_mem_limmed  0xdead,0xbeef,sp
16
        set_gr_gr       sp,gr21
17
 
18
        set_gr_immed    0,gr7
19
        set_fr_iimmed   0xbeef,0xdead,fr8
20
        set_fr_iimmed   0xdead,0xbeef,fr9
21
        cstdfu          fr8,@(sp,gr7),cc0,1
22
        set_gr_gr       gr21,gr22
23
        test_mem_limmed 0xbeef,0xdead,gr22
24
        inc_gr_immed    4,gr22
25
        test_mem_limmed 0xdead,0xbeef,gr22
26
        test_gr_gr      sp,gr21
27
 
28
        inc_gr_immed    -8,sp
29
        set_gr_immed    8,gr7
30
        set_fr_iimmed   0xaaaa,0xaaaa,fr8
31
        set_fr_iimmed   0xbbbb,0xbbbb,fr9
32
        cstdfu          fr8,@(sp,gr7),cc0,1
33
        set_gr_gr       gr21,gr22
34
        test_mem_limmed 0xaaaa,0xaaaa,gr22
35
        inc_gr_immed    4,gr22
36
        test_mem_limmed 0xbbbb,0xbbbb,gr22
37
        test_gr_gr      sp,gr21
38
 
39
        inc_gr_immed    8,sp
40
        set_gr_immed    -8,gr7
41
        set_fr_iimmed   0xcccc,0xcccc,fr8
42
        set_fr_iimmed   0xdddd,0xdddd,fr9
43
        cstdfu          fr8,@(sp,gr7),cc4,1
44
        set_gr_gr       gr21,gr22
45
        test_mem_limmed 0xcccc,0xcccc,gr22
46
        inc_gr_immed    4,gr22
47
        test_mem_limmed 0xdddd,0xdddd,gr22
48
        test_gr_gr      sp,gr21
49
 
50
        set_gr_gr       gr20,sp
51
        set_mem_limmed  0xbeef,0xdead,sp
52
        inc_gr_immed    -4,sp
53
        set_mem_limmed  0xdead,0xbeef,sp
54
        set_gr_gr       sp,gr21
55
 
56
        set_gr_immed    0,gr7
57
        set_fr_iimmed   0xbeef,0xdead,fr8
58
        set_fr_iimmed   0xdead,0xbeef,fr9
59
        cstdfu          fr8,@(sp,gr7),cc0,0
60
        set_gr_gr       gr21,gr22
61
        test_mem_limmed 0xdead,0xbeef,gr22
62
        inc_gr_immed    4,gr22
63
        test_mem_limmed 0xbeef,0xdead,gr22
64
        test_gr_gr      sp,gr21
65
 
66
        inc_gr_immed    -8,sp
67
        set_gr_gr       sp,gr23
68
        set_gr_immed    8,gr7
69
        set_fr_iimmed   0xaaaa,0xaaaa,fr8
70
        set_fr_iimmed   0xbbbb,0xbbbb,fr9
71
        cstdfu          fr8,@(sp,gr7),cc0,0
72
        set_gr_gr       gr21,gr22
73
        test_mem_limmed 0xdead,0xbeef,gr22
74
        inc_gr_immed    4,gr22
75
        test_mem_limmed 0xbeef,0xdead,gr22
76
        test_gr_gr      sp,gr23
77
 
78
        inc_gr_immed    16,sp
79
        set_gr_gr       sp,gr23
80
        set_gr_immed    -8,gr7
81
        set_fr_iimmed   0xcccc,0xcccc,fr8
82
        set_fr_iimmed   0xdddd,0xdddd,fr9
83
        cstdfu          fr8,@(sp,gr7),cc4,0
84
        set_gr_gr       gr21,gr22
85
        test_mem_limmed 0xdead,0xbeef,gr22
86
        inc_gr_immed    4,gr22
87
        test_mem_limmed 0xbeef,0xdead,gr22
88
        test_gr_gr      sp,gr23
89
 
90
        set_gr_gr       gr20,sp
91
        set_mem_limmed  0xbeef,0xdead,sp
92
        inc_gr_immed    -4,sp
93
        set_mem_limmed  0xdead,0xbeef,sp
94
        set_gr_gr       sp,gr21
95
 
96
        set_gr_immed    0,gr7
97
        set_fr_iimmed   0xbeef,0xdead,fr8
98
        set_fr_iimmed   0xdead,0xbeef,fr9
99
        cstdfu          fr8,@(sp,gr7),cc1,0
100
        set_gr_gr       gr21,gr22
101
        test_mem_limmed 0xbeef,0xdead,gr22
102
        inc_gr_immed    4,gr22
103
        test_mem_limmed 0xdead,0xbeef,gr22
104
        test_gr_gr      sp,gr21
105
 
106
        inc_gr_immed    -8,sp
107
        set_gr_immed    8,gr7
108
        set_fr_iimmed   0xaaaa,0xaaaa,fr8
109
        set_fr_iimmed   0xbbbb,0xbbbb,fr9
110
        cstdfu          fr8,@(sp,gr7),cc1,0
111
        set_gr_gr       gr21,gr22
112
        test_mem_limmed 0xaaaa,0xaaaa,gr22
113
        inc_gr_immed    4,gr22
114
        test_mem_limmed 0xbbbb,0xbbbb,gr22
115
        test_gr_gr      sp,gr21
116
 
117
        inc_gr_immed    8,sp
118
        set_gr_immed    -8,gr7
119
        set_fr_iimmed   0xcccc,0xcccc,fr8
120
        set_fr_iimmed   0xdddd,0xdddd,fr9
121
        cstdfu          fr8,@(sp,gr7),cc5,0
122
        set_gr_gr       gr21,gr22
123
        test_mem_limmed 0xcccc,0xcccc,gr22
124
        inc_gr_immed    4,gr22
125
        test_mem_limmed 0xdddd,0xdddd,gr22
126
        test_gr_gr      sp,gr21
127
 
128
        set_gr_gr       gr20,sp
129
        set_mem_limmed  0xbeef,0xdead,sp
130
        inc_gr_immed    -4,sp
131
        set_mem_limmed  0xdead,0xbeef,sp
132
        set_gr_gr       sp,gr21
133
 
134
        set_gr_immed    0,gr7
135
        set_fr_iimmed   0xbeef,0xdead,fr8
136
        set_fr_iimmed   0xdead,0xbeef,fr9
137
        cstdfu          fr8,@(sp,gr7),cc1,1
138
        set_gr_gr       gr21,gr22
139
        test_mem_limmed 0xdead,0xbeef,gr22
140
        inc_gr_immed    4,gr22
141
        test_mem_limmed 0xbeef,0xdead,gr22
142
        test_gr_gr      sp,gr21
143
 
144
        inc_gr_immed    -8,sp
145
        set_gr_gr       sp,gr23
146
        set_gr_immed    8,gr7
147
        set_fr_iimmed   0xaaaa,0xaaaa,fr8
148
        set_fr_iimmed   0xbbbb,0xbbbb,fr9
149
        cstdfu          fr8,@(sp,gr7),cc1,1
150
        set_gr_gr       gr21,gr22
151
        test_mem_limmed 0xdead,0xbeef,gr22
152
        inc_gr_immed    4,gr22
153
        test_mem_limmed 0xbeef,0xdead,gr22
154
        test_gr_gr      sp,gr23
155
 
156
        inc_gr_immed    16,sp
157
        set_gr_gr       sp,gr23
158
        set_gr_immed    -8,gr7
159
        set_fr_iimmed   0xcccc,0xcccc,fr8
160
        set_fr_iimmed   0xdddd,0xdddd,fr9
161
        cstdfu          fr8,@(sp,gr7),cc5,1
162
        set_gr_gr       gr21,gr22
163
        test_mem_limmed 0xdead,0xbeef,gr22
164
        inc_gr_immed    4,gr22
165
        test_mem_limmed 0xbeef,0xdead,gr22
166
        test_gr_gr      sp,gr23
167
 
168
        set_gr_gr       gr20,sp
169
        set_mem_limmed  0xbeef,0xdead,sp
170
        inc_gr_immed    -4,sp
171
        set_mem_limmed  0xdead,0xbeef,sp
172
        set_gr_gr       sp,gr21
173
 
174
        set_gr_immed    0,gr7
175
        set_fr_iimmed   0xbeef,0xdead,fr8
176
        set_fr_iimmed   0xdead,0xbeef,fr9
177
        cstdfu          fr8,@(sp,gr7),cc2,0
178
        set_gr_gr       gr21,gr22
179
        test_mem_limmed 0xdead,0xbeef,gr22
180
        inc_gr_immed    4,gr22
181
        test_mem_limmed 0xbeef,0xdead,gr22
182
        test_gr_gr      sp,gr21
183
 
184
        inc_gr_immed    -8,sp
185
        set_gr_gr       sp,gr23
186
        set_gr_immed    8,gr7
187
        set_fr_iimmed   0xaaaa,0xaaaa,fr8
188
        set_fr_iimmed   0xbbbb,0xbbbb,fr9
189
        cstdfu          fr8,@(sp,gr7),cc2,1
190
        set_gr_gr       gr21,gr22
191
        test_mem_limmed 0xdead,0xbeef,gr22
192
        inc_gr_immed    4,gr22
193
        test_mem_limmed 0xbeef,0xdead,gr22
194
        test_gr_gr      sp,gr23
195
 
196
        inc_gr_immed    16,sp
197
        set_gr_gr       sp,gr23
198
        set_gr_immed    -8,gr7
199
        set_fr_iimmed   0xcccc,0xcccc,fr8
200
        set_fr_iimmed   0xdddd,0xdddd,fr9
201
        cstdfu          fr8,@(sp,gr7),cc6,0
202
        set_gr_gr       gr21,gr22
203
        test_mem_limmed 0xdead,0xbeef,gr22
204
        inc_gr_immed    4,gr22
205
        test_mem_limmed 0xbeef,0xdead,gr22
206
        test_gr_gr      sp,gr23
207
 
208
        set_gr_gr       gr20,sp
209
        set_mem_limmed  0xbeef,0xdead,sp
210
        inc_gr_immed    -4,sp
211
        set_mem_limmed  0xdead,0xbeef,sp
212
        set_gr_gr       sp,gr21
213
 
214
        set_gr_immed    0,gr7
215
        set_fr_iimmed   0xbeef,0xdead,fr8
216
        set_fr_iimmed   0xdead,0xbeef,fr9
217
        cstdfu          fr8,@(sp,gr7),cc3,1
218
        set_gr_gr       gr21,gr22
219
        test_mem_limmed 0xdead,0xbeef,gr22
220
        inc_gr_immed    4,gr22
221
        test_mem_limmed 0xbeef,0xdead,gr22
222
        test_gr_gr      sp,gr21
223
 
224
        inc_gr_immed    -8,sp
225
        set_gr_gr       sp,gr23
226
        set_gr_immed    8,gr7
227
        set_fr_iimmed   0xaaaa,0xaaaa,fr8
228
        set_fr_iimmed   0xbbbb,0xbbbb,fr9
229
        cstdfu          fr8,@(sp,gr7),cc3,0
230
        set_gr_gr       gr21,gr22
231
        test_mem_limmed 0xdead,0xbeef,gr22
232
        inc_gr_immed    4,gr22
233
        test_mem_limmed 0xbeef,0xdead,gr22
234
        test_gr_gr      sp,gr23
235
 
236
        inc_gr_immed    16,sp
237
        set_gr_gr       sp,gr23
238
        set_gr_immed    -8,gr7
239
        set_fr_iimmed   0xcccc,0xcccc,fr8
240
        set_fr_iimmed   0xdddd,0xdddd,fr9
241
        cstdfu          fr8,@(sp,gr7),cc7,1
242
        set_gr_gr       gr21,gr22
243
        test_mem_limmed 0xdead,0xbeef,gr22
244
        inc_gr_immed    4,gr22
245
        test_mem_limmed 0xbeef,0xdead,gr22
246
        test_gr_gr      sp,gr23
247
 
248
        pass

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.