OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [frv/] [cldqu.cgs] - Blame information for rev 827

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

Line No. Rev Author Line
1 24 jeremybenn
# frv testcase for cldqu @($GRi,$GRj),$GRk,$CCi,$cond
2
# mach: frv
3
# as(frv): -mcpu=frv
4
 
5
        .include "testutils.inc"
6
 
7
        start
8
 
9
        .global cldqu
10
cldqu:
11
        set_spr_immed   0x1b1b,cccr
12
        set_gr_gr       sp,gr21
13
 
14
        set_mem_limmed  0xdead,0xbeef,sp
15
        inc_gr_immed    -4,sp
16
        set_mem_limmed  0xbeef,0xdead,sp
17
        inc_gr_immed    -4,sp
18
        set_mem_limmed  0x1234,0x5678,sp
19
        inc_gr_immed    -4,sp
20
        set_mem_limmed  0x9abc,0xdef0,sp
21
        set_gr_gr       sp,gr20
22
        set_gr_limmed   0xdead,0xbeef,gr8
23
        set_gr_limmed   0xbeef,0xdead,gr9
24
        set_gr_limmed   0x1234,0x5678,gr10
25
        set_gr_limmed   0x9abc,0xdef0,gr11
26
 
27
        set_gr_immed    0,gr7
28
        cldqu           @(sp,gr7),gr8,cc0,1
29
        test_gr_limmed  0x9abc,0xdef0,gr8
30
        test_gr_limmed  0x1234,0x5678,gr9
31
        test_gr_limmed  0xbeef,0xdead,gr10
32
        test_gr_limmed  0xdead,0xbeef,gr11
33
        test_gr_gr      sp,gr20
34
 
35
        set_gr_limmed   0xdead,0xbeef,gr8
36
        set_gr_limmed   0xbeef,0xdead,gr9
37
        set_gr_limmed   0x1234,0x5678,gr10
38
        set_gr_limmed   0x9abc,0xdef0,gr11
39
        inc_gr_immed    -16,sp
40
        set_gr_immed    16,gr7
41
        cldqu           @(sp,gr7),gr8,cc0,1
42
        test_gr_limmed  0x9abc,0xdef0,gr8
43
        test_gr_limmed  0x1234,0x5678,gr9
44
        test_gr_limmed  0xbeef,0xdead,gr10
45
        test_gr_limmed  0xdead,0xbeef,gr11
46
        test_gr_gr      sp,gr20
47
 
48
        set_gr_limmed   0xdead,0xbeef,gr8
49
        set_gr_limmed   0xbeef,0xdead,gr9
50
        set_gr_limmed   0x1234,0x5678,gr10
51
        set_gr_limmed   0x9abc,0xdef0,gr11
52
        inc_gr_immed    16,sp
53
        set_gr_immed    -16,gr7
54
        cldqu           @(sp,gr7),gr8,cc4,1
55
        test_gr_limmed  0x9abc,0xdef0,gr8
56
        test_gr_limmed  0x1234,0x5678,gr9
57
        test_gr_limmed  0xbeef,0xdead,gr10
58
        test_gr_limmed  0xdead,0xbeef,gr11
59
        test_gr_gr      sp,gr20
60
 
61
        set_gr_gr       gr21,sp
62
        set_mem_limmed  0xdead,0xbeef,sp
63
        inc_gr_immed    -4,sp
64
        set_mem_limmed  0xbeef,0xdead,sp
65
        inc_gr_immed    -4,sp
66
        set_mem_limmed  0x1234,0x5678,sp
67
        inc_gr_immed    -4,sp
68
        set_mem_limmed  0x9abc,0xdef0,sp
69
        set_gr_gr       sp,gr20
70
        set_gr_limmed   0xdead,0xbeef,gr8
71
        set_gr_limmed   0xbeef,0xdead,gr9
72
        set_gr_limmed   0x1234,0x5678,gr10
73
        set_gr_limmed   0x9abc,0xdef0,gr11
74
 
75
        set_gr_immed    0,gr7
76
        cldqu           @(sp,gr7),gr8,cc0,0
77
        test_gr_limmed  0xdead,0xbeef,gr8
78
        test_gr_limmed  0xbeef,0xdead,gr9
79
        test_gr_limmed  0x1234,0x5678,gr10
80
        test_gr_limmed  0x9abc,0xdef0,gr11
81
        test_gr_gr      sp,gr20
82
 
83
        set_gr_limmed   0xdead,0xbeef,gr8
84
        set_gr_limmed   0xbeef,0xdead,gr9
85
        set_gr_limmed   0x1234,0x5678,gr10
86
        set_gr_limmed   0x9abc,0xdef0,gr11
87
        inc_gr_immed    -16,gr20
88
        inc_gr_immed    -16,sp
89
        set_gr_immed    16,gr7
90
        cldqu           @(sp,gr7),gr8,cc0,0
91
        test_gr_limmed  0xdead,0xbeef,gr8
92
        test_gr_limmed  0xbeef,0xdead,gr9
93
        test_gr_limmed  0x1234,0x5678,gr10
94
        test_gr_limmed  0x9abc,0xdef0,gr11
95
        test_gr_gr      sp,gr20
96
 
97
        set_gr_limmed   0xdead,0xbeef,gr8
98
        set_gr_limmed   0xbeef,0xdead,gr9
99
        set_gr_limmed   0x1234,0x5678,gr10
100
        set_gr_limmed   0x9abc,0xdef0,gr11
101
        inc_gr_immed    32,gr20
102
        inc_gr_immed    32,sp
103
        set_gr_immed    -16,gr7
104
        cldqu           @(sp,gr7),gr8,cc4,0
105
        test_gr_limmed  0xdead,0xbeef,gr8
106
        test_gr_limmed  0xbeef,0xdead,gr9
107
        test_gr_limmed  0x1234,0x5678,gr10
108
        test_gr_limmed  0x9abc,0xdef0,gr11
109
        test_gr_gr      sp,gr20
110
 
111
        set_gr_gr       gr21,sp
112
        set_mem_limmed  0xdead,0xbeef,sp
113
        inc_gr_immed    -4,sp
114
        set_mem_limmed  0xbeef,0xdead,sp
115
        inc_gr_immed    -4,sp
116
        set_mem_limmed  0x1234,0x5678,sp
117
        inc_gr_immed    -4,sp
118
        set_mem_limmed  0x9abc,0xdef0,sp
119
        set_gr_gr       sp,gr20
120
        set_gr_limmed   0xdead,0xbeef,gr8
121
        set_gr_limmed   0xbeef,0xdead,gr9
122
        set_gr_limmed   0x1234,0x5678,gr10
123
        set_gr_limmed   0x9abc,0xdef0,gr11
124
 
125
        set_gr_immed    0,gr7
126
        cldqu           @(sp,gr7),gr8,cc1,0
127
        test_gr_limmed  0x9abc,0xdef0,gr8
128
        test_gr_limmed  0x1234,0x5678,gr9
129
        test_gr_limmed  0xbeef,0xdead,gr10
130
        test_gr_limmed  0xdead,0xbeef,gr11
131
        test_gr_gr      sp,gr20
132
 
133
        set_gr_limmed   0xdead,0xbeef,gr8
134
        set_gr_limmed   0xbeef,0xdead,gr9
135
        set_gr_limmed   0x1234,0x5678,gr10
136
        set_gr_limmed   0x9abc,0xdef0,gr11
137
        inc_gr_immed    -16,sp
138
        set_gr_immed    16,gr7
139
        cldqu           @(sp,gr7),gr8,cc1,0
140
        test_gr_limmed  0x9abc,0xdef0,gr8
141
        test_gr_limmed  0x1234,0x5678,gr9
142
        test_gr_limmed  0xbeef,0xdead,gr10
143
        test_gr_limmed  0xdead,0xbeef,gr11
144
        test_gr_gr      sp,gr20
145
 
146
        set_gr_limmed   0xdead,0xbeef,gr8
147
        set_gr_limmed   0xbeef,0xdead,gr9
148
        set_gr_limmed   0x1234,0x5678,gr10
149
        set_gr_limmed   0x9abc,0xdef0,gr11
150
        inc_gr_immed    16,sp
151
        set_gr_immed    -16,gr7
152
        cldqu           @(sp,gr7),gr8,cc5,0
153
        test_gr_limmed  0x9abc,0xdef0,gr8
154
        test_gr_limmed  0x1234,0x5678,gr9
155
        test_gr_limmed  0xbeef,0xdead,gr10
156
        test_gr_limmed  0xdead,0xbeef,gr11
157
        test_gr_gr      sp,gr20
158
 
159
        set_gr_gr       gr21,sp
160
        set_mem_limmed  0xdead,0xbeef,sp
161
        inc_gr_immed    -4,sp
162
        set_mem_limmed  0xbeef,0xdead,sp
163
        inc_gr_immed    -4,sp
164
        set_mem_limmed  0x1234,0x5678,sp
165
        inc_gr_immed    -4,sp
166
        set_mem_limmed  0x9abc,0xdef0,sp
167
        set_gr_gr       sp,gr20
168
        set_gr_limmed   0xdead,0xbeef,gr8
169
        set_gr_limmed   0xbeef,0xdead,gr9
170
        set_gr_limmed   0x1234,0x5678,gr10
171
        set_gr_limmed   0x9abc,0xdef0,gr11
172
 
173
        set_gr_immed    0,gr7
174
        cldqu           @(sp,gr7),gr8,cc1,1
175
        test_gr_limmed  0xdead,0xbeef,gr8
176
        test_gr_limmed  0xbeef,0xdead,gr9
177
        test_gr_limmed  0x1234,0x5678,gr10
178
        test_gr_limmed  0x9abc,0xdef0,gr11
179
        test_gr_gr      sp,gr20
180
 
181
        set_gr_limmed   0xdead,0xbeef,gr8
182
        set_gr_limmed   0xbeef,0xdead,gr9
183
        set_gr_limmed   0x1234,0x5678,gr10
184
        set_gr_limmed   0x9abc,0xdef0,gr11
185
        inc_gr_immed    -16,gr20
186
        inc_gr_immed    -16,sp
187
        set_gr_immed    16,gr7
188
        cldqu           @(sp,gr7),gr8,cc1,1
189
        test_gr_limmed  0xdead,0xbeef,gr8
190
        test_gr_limmed  0xbeef,0xdead,gr9
191
        test_gr_limmed  0x1234,0x5678,gr10
192
        test_gr_limmed  0x9abc,0xdef0,gr11
193
        test_gr_gr      sp,gr20
194
 
195
        set_gr_limmed   0xdead,0xbeef,gr8
196
        set_gr_limmed   0xbeef,0xdead,gr9
197
        set_gr_limmed   0x1234,0x5678,gr10
198
        set_gr_limmed   0x9abc,0xdef0,gr11
199
        inc_gr_immed    32,gr20
200
        inc_gr_immed    32,sp
201
        set_gr_immed    -16,gr7
202
        cldqu           @(sp,gr7),gr8,cc5,1
203
        test_gr_limmed  0xdead,0xbeef,gr8
204
        test_gr_limmed  0xbeef,0xdead,gr9
205
        test_gr_limmed  0x1234,0x5678,gr10
206
        test_gr_limmed  0x9abc,0xdef0,gr11
207
        test_gr_gr      sp,gr20
208
 
209
        set_gr_gr       gr21,sp
210
        set_mem_limmed  0xdead,0xbeef,sp
211
        inc_gr_immed    -4,sp
212
        set_mem_limmed  0xbeef,0xdead,sp
213
        inc_gr_immed    -4,sp
214
        set_mem_limmed  0x1234,0x5678,sp
215
        inc_gr_immed    -4,sp
216
        set_mem_limmed  0x9abc,0xdef0,sp
217
        set_gr_gr       sp,gr20
218
        set_gr_limmed   0xdead,0xbeef,gr8
219
        set_gr_limmed   0xbeef,0xdead,gr9
220
        set_gr_limmed   0x1234,0x5678,gr10
221
        set_gr_limmed   0x9abc,0xdef0,gr11
222
 
223
        set_gr_immed    0,gr7
224
        cldqu           @(sp,gr7),gr8,cc2,0
225
        test_gr_limmed  0xdead,0xbeef,gr8
226
        test_gr_limmed  0xbeef,0xdead,gr9
227
        test_gr_limmed  0x1234,0x5678,gr10
228
        test_gr_limmed  0x9abc,0xdef0,gr11
229
        test_gr_gr      sp,gr20
230
 
231
        set_gr_limmed   0xdead,0xbeef,gr8
232
        set_gr_limmed   0xbeef,0xdead,gr9
233
        set_gr_limmed   0x1234,0x5678,gr10
234
        set_gr_limmed   0x9abc,0xdef0,gr11
235
        inc_gr_immed    -16,gr20
236
        inc_gr_immed    -16,sp
237
        set_gr_immed    16,gr7
238
        cldqu           @(sp,gr7),gr8,cc2,1
239
        test_gr_limmed  0xdead,0xbeef,gr8
240
        test_gr_limmed  0xbeef,0xdead,gr9
241
        test_gr_limmed  0x1234,0x5678,gr10
242
        test_gr_limmed  0x9abc,0xdef0,gr11
243
        test_gr_gr      sp,gr20
244
 
245
        set_gr_limmed   0xdead,0xbeef,gr8
246
        set_gr_limmed   0xbeef,0xdead,gr9
247
        set_gr_limmed   0x1234,0x5678,gr10
248
        set_gr_limmed   0x9abc,0xdef0,gr11
249
        inc_gr_immed    32,gr20
250
        inc_gr_immed    32,sp
251
        set_gr_immed    -16,gr7
252
        cldqu           @(sp,gr7),gr8,cc6,0
253
        test_gr_limmed  0xdead,0xbeef,gr8
254
        test_gr_limmed  0xbeef,0xdead,gr9
255
        test_gr_limmed  0x1234,0x5678,gr10
256
        test_gr_limmed  0x9abc,0xdef0,gr11
257
        test_gr_gr      sp,gr20
258
 
259
        set_gr_gr       gr21,sp
260
        set_mem_limmed  0xdead,0xbeef,sp
261
        inc_gr_immed    -4,sp
262
        set_mem_limmed  0xbeef,0xdead,sp
263
        inc_gr_immed    -4,sp
264
        set_mem_limmed  0x1234,0x5678,sp
265
        inc_gr_immed    -4,sp
266
        set_mem_limmed  0x9abc,0xdef0,sp
267
        set_gr_gr       sp,gr20
268
        set_gr_limmed   0xdead,0xbeef,gr8
269
        set_gr_limmed   0xbeef,0xdead,gr9
270
        set_gr_limmed   0x1234,0x5678,gr10
271
        set_gr_limmed   0x9abc,0xdef0,gr11
272
 
273
        set_gr_immed    0,gr7
274
        cldqu           @(sp,gr7),gr8,cc3,1
275
        test_gr_limmed  0xdead,0xbeef,gr8
276
        test_gr_limmed  0xbeef,0xdead,gr9
277
        test_gr_limmed  0x1234,0x5678,gr10
278
        test_gr_limmed  0x9abc,0xdef0,gr11
279
        test_gr_gr      sp,gr20
280
 
281
        set_gr_limmed   0xdead,0xbeef,gr8
282
        set_gr_limmed   0xbeef,0xdead,gr9
283
        set_gr_limmed   0x1234,0x5678,gr10
284
        set_gr_limmed   0x9abc,0xdef0,gr11
285
        inc_gr_immed    -16,gr20
286
        inc_gr_immed    -16,sp
287
        set_gr_immed    16,gr7
288
        cldqu           @(sp,gr7),gr8,cc3,0
289
        test_gr_limmed  0xdead,0xbeef,gr8
290
        test_gr_limmed  0xbeef,0xdead,gr9
291
        test_gr_limmed  0x1234,0x5678,gr10
292
        test_gr_limmed  0x9abc,0xdef0,gr11
293
        test_gr_gr      sp,gr20
294
 
295
        set_gr_limmed   0xdead,0xbeef,gr8
296
        set_gr_limmed   0xbeef,0xdead,gr9
297
        set_gr_limmed   0x1234,0x5678,gr10
298
        set_gr_limmed   0x9abc,0xdef0,gr11
299
        inc_gr_immed    32,gr20
300
        inc_gr_immed    32,sp
301
        set_gr_immed    -16,gr7
302
        cldqu           @(sp,gr7),gr8,cc7,1
303
        test_gr_limmed  0xdead,0xbeef,gr8
304
        test_gr_limmed  0xbeef,0xdead,gr9
305
        test_gr_limmed  0x1234,0x5678,gr10
306
        test_gr_limmed  0x9abc,0xdef0,gr11
307
        test_gr_gr      sp,gr20
308
 
309
        set_gr_gr       gr21,gr8
310
        inc_gr_immed    -28,gr8
311
        set_gr_immed    16,gr7
312
        cldqu           @(gr8,gr7),gr8,cc0,1
313
        test_gr_limmed  0x9abc,0xdef0,gr8
314
        test_gr_limmed  0x1234,0x5678,gr9
315
        test_gr_limmed  0xbeef,0xdead,gr10
316
        test_gr_limmed  0xdead,0xbeef,gr11
317
 
318
        pass

powered by: WebSVN 2.1.0

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