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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [frv/] [mcuti.cgs] - Blame information for rev 842

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
# frv testcase for mcuti $ACC40i,$s6,$FRk
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global mcuti
9
mcuti:
10
        set_accg_immed   0xffffffe7,accg0
11
        set_acc_immed   0x89abcdef,acc0
12
 
13
        mcuti           acc0,0,fr11
14
        test_fr_iimmed  0xe789abcd,fr11
15
 
16
        mcuti           acc0,1,fr11
17
        test_fr_iimmed  0xcf13579b,fr11
18
 
19
        mcuti           acc0,2,fr11
20
        test_fr_iimmed  0x9e26af37,fr11
21
 
22
        set_fr_iimmed   0,3,fr10
23
        mcuti           acc0,3,fr11
24
        test_fr_iimmed  0x3c4d5e6f,fr11
25
 
26
        mcuti           acc0,4,fr11
27
        test_fr_iimmed  0x789abcde,fr11
28
 
29
        mcuti           acc0,5,fr11
30
        test_fr_iimmed  0xf13579bd,fr11
31
 
32
        mcuti           acc0,6,fr11
33
        test_fr_iimmed  0xe26af37b,fr11
34
 
35
        mcuti           acc0,7,fr11
36
        test_fr_iimmed  0xc4d5e6f7,fr11
37
 
38
        mcuti           acc0,8,fr11
39
        test_fr_iimmed  0x89abcdef,fr11
40
 
41
        mcuti           acc0,9,fr11
42
        test_fr_iimmed  0x13579bde,fr11
43
 
44
        mcuti           acc0,10,fr11
45
        test_fr_iimmed  0x26af37bc,fr11
46
 
47
        mcuti           acc0,11,fr11
48
        test_fr_iimmed  0x4d5e6f78,fr11
49
 
50
        mcuti           acc0,12,fr11
51
        test_fr_iimmed  0x9abcdef0,fr11
52
 
53
        mcuti           acc0,13,fr11
54
        test_fr_iimmed  0x3579bde0,fr11
55
 
56
        mcuti           acc0,14,fr11
57
        test_fr_iimmed  0x6af37bc0,fr11
58
 
59
        mcuti           acc0,15,fr11
60
        test_fr_iimmed  0xd5e6f780,fr11
61
 
62
        mcuti           acc0,16,fr11
63
        test_fr_iimmed  0xabcdef00,fr11
64
 
65
        mcuti           acc0,17,fr11
66
        test_fr_iimmed  0x579bde00,fr11
67
 
68
        mcuti           acc0,18,fr11
69
        test_fr_iimmed  0xaf37bc00,fr11
70
 
71
        mcuti           acc0,19,fr11
72
        test_fr_iimmed  0x5e6f7800,fr11
73
 
74
        mcuti           acc0,20,fr11
75
        test_fr_iimmed  0xbcdef000,fr11
76
 
77
        mcuti           acc0,21,fr11
78
        test_fr_iimmed  0x79bde000,fr11
79
 
80
        mcuti           acc0,22,fr11
81
        test_fr_iimmed  0xf37bc000,fr11
82
 
83
        mcuti           acc0,23,fr11
84
        test_fr_iimmed  0xe6f78000,fr11
85
 
86
        mcuti           acc0,24,fr11
87
        test_fr_iimmed  0xcdef0000,fr11
88
 
89
        mcuti           acc0,25,fr11
90
        test_fr_iimmed  0x9bde0000,fr11
91
 
92
        mcuti           acc0,26,fr11
93
        test_fr_iimmed  0x37bc0000,fr11
94
 
95
        mcuti           acc0,27,fr11
96
        test_fr_iimmed  0x6f780000,fr11
97
 
98
        mcuti           acc0,28,fr11
99
        test_fr_iimmed  0xdef00000,fr11
100
 
101
        mcuti           acc0,29,fr11
102
        test_fr_iimmed  0xbde00000,fr11
103
 
104
        mcuti           acc0,30,fr11
105
        test_fr_iimmed  0x7bc00000,fr11
106
 
107
        mcuti           acc0,31,fr11
108
        test_fr_iimmed  0xf7800000,fr11
109
 
110
        mcuti           acc0,-1,fr11
111
        test_fr_iimmed  0xf3c4d5e6,fr11
112
 
113
        mcuti           acc0,-2,fr11
114
        test_fr_iimmed  0xf9e26af3,fr11
115
 
116
        mcuti           acc0,-3,fr11
117
        test_fr_iimmed  0xfcf13579,fr11
118
 
119
        mcuti           acc0,-4,fr11
120
        test_fr_iimmed  0xfe789abc,fr11
121
 
122
        mcuti           acc0,-5,fr11
123
        test_fr_iimmed  0xff3c4d5e,fr11
124
 
125
        mcuti           acc0,-6,fr11
126
        test_fr_iimmed  0xff9e26af,fr11
127
 
128
        mcuti           acc0,-7,fr11
129
        test_fr_iimmed  0xffcf1357,fr11
130
 
131
        mcuti           acc0,-8,fr11
132
        test_fr_iimmed  0xffe789ab,fr11
133
 
134
        mcuti           acc0,-9,fr11
135
        test_fr_iimmed  0xfff3c4d5,fr11
136
 
137
        mcuti           acc0,-10,fr11
138
        test_fr_iimmed  0xfff9e26a,fr11
139
 
140
        mcuti           acc0,-11,fr11
141
        test_fr_iimmed  0xfffcf135,fr11
142
 
143
        mcuti           acc0,-12,fr11
144
        test_fr_iimmed  0xfffe789a,fr11
145
 
146
        mcuti           acc0,-13,fr11
147
        test_fr_iimmed  0xffff3c4d,fr11
148
 
149
        mcuti           acc0,-14,fr11
150
        test_fr_iimmed  0xffff9e26,fr11
151
 
152
        mcuti           acc0,-15,fr11
153
        test_fr_iimmed  0xffffcf13,fr11
154
 
155
        mcuti           acc0,-16,fr11
156
        test_fr_iimmed  0xffffe789,fr11
157
 
158
        mcuti           acc0,-17,fr11
159
        test_fr_iimmed  0xfffff3c4,fr11
160
 
161
        mcuti           acc0,-18,fr11
162
        test_fr_iimmed  0xfffff9e2,fr11
163
 
164
        mcuti           acc0,-19,fr11
165
        test_fr_iimmed  0xfffffcf1,fr11
166
 
167
        mcuti           acc0,-20,fr11
168
        test_fr_iimmed  0xfffffe78,fr11
169
 
170
        mcuti           acc0,-21,fr11
171
        test_fr_iimmed  0xffffff3c,fr11
172
 
173
        mcuti           acc0,-22,fr11
174
        test_fr_iimmed  0xffffff9e,fr11
175
 
176
        mcuti           acc0,-23,fr11
177
        test_fr_iimmed  0xffffffcf,fr11
178
 
179
        mcuti           acc0,-24,fr11
180
        test_fr_iimmed  0xffffffe7,fr11
181
 
182
        mcuti           acc0,-25,fr11
183
        test_fr_iimmed  0xfffffff3,fr11
184
 
185
        mcuti           acc0,-26,fr11
186
        test_fr_iimmed  0xfffffff9,fr11
187
 
188
        mcuti           acc0,-27,fr11
189
        test_fr_iimmed  0xfffffffc,fr11
190
 
191
        mcuti           acc0,-28,fr11
192
        test_fr_iimmed  0xfffffffe,fr11
193
 
194
        mcuti           acc0,-29,fr11
195
        test_fr_iimmed  0xffffffff,fr11
196
 
197
        mcuti           acc0,-30,fr11
198
        test_fr_iimmed  0xffffffff,fr11
199
 
200
        mcuti           acc0,-31,fr11
201
        test_fr_iimmed  0xffffffff,fr11
202
 
203
        mcuti           acc0,-32,fr11
204
        test_fr_iimmed  0xffffffff,fr11
205
 
206
        set_accg_immed   0xffffff67,accg0
207
        set_acc_immed   0x89abcdef,acc0
208
 
209
        mcuti           acc0,-1,fr11
210
        test_fr_iimmed  0x33c4d5e6,fr11
211
 
212
        mcuti           acc0,-2,fr11
213
        test_fr_iimmed  0x19e26af3,fr11
214
 
215
        mcuti           acc0,-3,fr11
216
        test_fr_iimmed  0x0cf13579,fr11
217
 
218
        mcuti           acc0,-4,fr11
219
        test_fr_iimmed  0x06789abc,fr11
220
 
221
        mcuti           acc0,-5,fr11
222
        test_fr_iimmed  0x033c4d5e,fr11
223
 
224
        mcuti           acc0,-6,fr11
225
        test_fr_iimmed  0x019e26af,fr11
226
 
227
        mcuti           acc0,-7,fr11
228
        test_fr_iimmed  0x00cf1357,fr11
229
 
230
        mcuti           acc0,-8,fr11
231
        test_fr_iimmed  0x006789ab,fr11
232
 
233
        mcuti           acc0,-9,fr11
234
        test_fr_iimmed  0x0033c4d5,fr11
235
 
236
        mcuti           acc0,-10,fr11
237
        test_fr_iimmed  0x0019e26a,fr11
238
 
239
        mcuti           acc0,-11,fr11
240
        test_fr_iimmed  0x000cf135,fr11
241
 
242
        mcuti           acc0,-12,fr11
243
        test_fr_iimmed  0x0006789a,fr11
244
 
245
        mcuti           acc0,-13,fr11
246
        test_fr_iimmed  0x00033c4d,fr11
247
 
248
        mcuti           acc0,-14,fr11
249
        test_fr_iimmed  0x00019e26,fr11
250
 
251
        mcuti           acc0,-15,fr11
252
        test_fr_iimmed  0x0000cf13,fr11
253
 
254
        mcuti           acc0,-16,fr11
255
        test_fr_iimmed  0x00006789,fr11
256
 
257
        mcuti           acc0,-17,fr11
258
        test_fr_iimmed  0x000033c4,fr11
259
 
260
        mcuti           acc0,-18,fr11
261
        test_fr_iimmed  0x000019e2,fr11
262
 
263
        mcuti           acc0,-19,fr11
264
        test_fr_iimmed  0x00000cf1,fr11
265
 
266
        mcuti           acc0,-20,fr11
267
        test_fr_iimmed  0x00000678,fr11
268
 
269
        mcuti           acc0,-21,fr11
270
        test_fr_iimmed  0x0000033c,fr11
271
 
272
        mcuti           acc0,-22,fr11
273
        test_fr_iimmed  0x0000019e,fr11
274
 
275
        mcuti           acc0,-23,fr11
276
        test_fr_iimmed  0x000000cf,fr11
277
 
278
        mcuti           acc0,-24,fr11
279
        test_fr_iimmed  0x00000067,fr11
280
 
281
        mcuti           acc0,-25,fr11
282
        test_fr_iimmed  0x00000033,fr11
283
 
284
        mcuti           acc0,-26,fr11
285
        test_fr_iimmed  0x00000019,fr11
286
 
287
        mcuti           acc0,-27,fr11
288
        test_fr_iimmed  0x0000000c,fr11
289
 
290
        mcuti           acc0,-28,fr11
291
        test_fr_iimmed  0x00000006,fr11
292
 
293
        mcuti           acc0,-29,fr11
294
        test_fr_iimmed  0x00000003,fr11
295
 
296
        mcuti           acc0,-30,fr11
297
        test_fr_iimmed  0x00000001,fr11
298
 
299
        mcuti           acc0,-31,fr11
300
        test_fr_iimmed  0x00000000,fr11
301
 
302
        mcuti           acc0,-32,fr11
303
        test_fr_iimmed  0x00000000,fr11
304
 
305
        ; Examples from the customer
306
        set_accg_immed   0xffffffff,accg0
307
        set_acc_immed   0xffe00000,acc0
308
 
309
        mcuti           acc0,16,fr11
310
        test_fr_iimmed  0xe0000000,fr11
311
 
312
        mcuti           acc0,17,fr11
313
        test_fr_iimmed  0xc0000000,fr11
314
 
315
        mcuti           acc0,18,fr11
316
        test_fr_iimmed  0x80000000,fr11
317
 
318
        set_accg_immed   0,accg0
319
        set_acc_immed   0x003fffff,acc0
320
 
321
        mcuti           acc0,16,fr11
322
        test_fr_iimmed  0x3fffff00,fr11
323
 
324
        mcuti           acc0,17,fr11
325
        test_fr_iimmed  0x7ffffe00,fr11
326
 
327
        set_accg_immed   0x7f,accg0
328
        set_acc_immed   0xffe00000,acc0
329
 
330
        mcuti           acc0,16,fr11
331
        test_fr_iimmed  0xe0000000,fr11
332
 
333
        mcuti           acc0,17,fr11
334
        test_fr_iimmed  0xc0000000,fr11
335
 
336
        mcuti           acc0,18,fr11
337
        test_fr_iimmed  0x80000000,fr11
338
 
339
        set_accg_immed   0x08,accg0
340
        set_acc_immed   0x003fffff,acc0
341
 
342
        mcuti           acc0,16,fr11
343
        test_fr_iimmed  0x3fffff00,fr11
344
 
345
        mcuti           acc0,17,fr11
346
        test_fr_iimmed  0x7ffffe00,fr11
347
 
348
        set_accg_immed   0xff,accg0
349
        set_acc_immed   0xefe00000,acc0
350
 
351
        mcuti           acc0,16,fr11
352
        test_fr_iimmed  0xe0000000,fr11
353
 
354
        mcuti           acc0,17,fr11
355
        test_fr_iimmed  0xc0000000,fr11
356
 
357
        mcuti           acc0,18,fr11
358
        test_fr_iimmed  0x80000000,fr11
359
 
360
        set_accg_immed   0x80,accg0
361
        set_acc_immed   0x003fffff,acc0
362
 
363
        mcuti           acc0,16,fr11
364
        test_fr_iimmed  0x3fffff00,fr11
365
 
366
        mcuti           acc0,17,fr11
367
        test_fr_iimmed  0x7ffffe00,fr11
368
 
369
        set_accg_immed   0xffffffaf,accg0
370
        set_acc_immed   0x5a5a5a5a,acc0
371
 
372
        mcuti           acc0,-4,fr11
373
        test_fr_iimmed  0xfaf5a5a5,fr11
374
 
375
        set_accg_immed   0x0000002f,accg0
376
        set_acc_immed   0x5a5a5a5a,acc0
377
 
378
        mcuti           acc0,-7,fr11
379
        test_fr_iimmed  0x005eb4b4,fr11
380
 
381
        pass

powered by: WebSVN 2.1.0

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