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/] [nfdmss.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 nfdmss $FRi,$FRj,$FRk
2
# mach: frv
3
 
4
        .include "testutils.inc"
5
 
6
        float_constants
7
        start
8
        load_float_constants
9
        load_float_constants1
10
        load_float_constants2
11
        load_float_constants3
12
 
13
        .global nfdmss
14
nfdmss:
15
        nfdmss          fr16,fr4,fr60
16
        test_fr_fr      fr60,fr16
17
        test_fr_fr      fr60,fr20
18
        test_fr_fr      fr62,fr16
19
        test_fr_fr      fr62,fr20
20
        test_spr_immed  0,fner1
21
        test_spr_immed  0,fner0
22
        nfdmss          fr16,fr8,fr60
23
        test_fr_fr      fr60,fr16
24
        test_fr_fr      fr60,fr20
25
        test_fr_fr      fr61,fr28
26
        test_fr_fr      fr62,fr16
27
        test_fr_fr      fr62,fr20
28
        test_fr_fr      fr63,fr28
29
        test_spr_immed  0,fner1
30
        test_spr_immed  0,fner0
31
        nfdmss          fr16,fr12,fr60
32
        test_fr_fr      fr60,fr16
33
        test_fr_fr      fr60,fr20
34
        test_fr_fr      fr62,fr16
35
        test_fr_fr      fr62,fr20
36
        test_spr_immed  0,fner1
37
        test_spr_immed  0,fner0
38
        nfdmss          fr16,fr16,fr60
39
        test_fr_fr      fr60,fr16
40
        test_fr_fr      fr60,fr20
41
        test_fr_fr      fr61,fr16
42
        test_fr_fr      fr61,fr20
43
        test_fr_fr      fr62,fr16
44
        test_fr_fr      fr62,fr20
45
        test_fr_fr      fr63,fr16
46
        test_fr_fr      fr63,fr20
47
        test_spr_immed  0,fner1
48
        test_spr_immed  0,fner0
49
        nfdmss          fr16,fr20,fr60
50
        test_fr_fr      fr60,fr16
51
        test_fr_fr      fr60,fr20
52
        test_fr_fr      fr61,fr16
53
        test_fr_fr      fr61,fr20
54
        test_fr_fr      fr62,fr16
55
        test_fr_fr      fr62,fr20
56
        test_fr_fr      fr63,fr16
57
        test_fr_fr      fr63,fr20
58
        test_spr_immed  0,fner1
59
        test_spr_immed  0,fner0
60
        nfdmss          fr16,fr24,fr60
61
        test_fr_fr      fr60,fr16
62
        test_fr_fr      fr60,fr20
63
        test_fr_fr      fr62,fr16
64
        test_fr_fr      fr62,fr20
65
        test_spr_immed  0,fner1
66
        test_spr_immed  0,fner0
67
        nfdmss          fr16,fr28,fr60
68
        test_fr_fr      fr60,fr16
69
        test_fr_fr      fr60,fr20
70
        test_fr_fr      fr61,fr8
71
        test_fr_fr      fr62,fr16
72
        test_fr_fr      fr62,fr20
73
        test_fr_fr      fr63,fr8
74
        test_spr_immed  0,fner1
75
        test_spr_immed  0,fner0
76
        nfdmss          fr16,fr32,fr60
77
        test_fr_fr      fr60,fr16
78
        test_fr_fr      fr60,fr20
79
        test_fr_fr      fr62,fr16
80
        test_fr_fr      fr62,fr20
81
        test_spr_immed  0,fner1
82
        test_spr_immed  0,fner0
83
        nfdmss          fr16,fr36,fr60
84
        test_fr_fr      fr60,fr16
85
        test_fr_fr      fr60,fr20
86
        test_fr_fr      fr62,fr16
87
        test_fr_fr      fr62,fr20
88
        test_spr_immed  0,fner1
89
        test_spr_immed  0,fner0
90
        nfdmss          fr16,fr40,fr60
91
        test_fr_fr      fr60,fr16
92
        test_fr_fr      fr60,fr20
93
        test_fr_fr      fr62,fr16
94
        test_fr_fr      fr62,fr20
95
        test_spr_immed  0,fner1
96
        test_spr_immed  0,fner0
97
        nfdmss          fr16,fr44,fr60
98
        test_fr_fr      fr60,fr16
99
        test_fr_fr      fr60,fr20
100
        test_fr_fr      fr62,fr16
101
        test_fr_fr      fr62,fr20
102
        test_spr_immed  0,fner1
103
        test_spr_immed  0,fner0
104
        nfdmss          fr16,fr48,fr60
105
        test_fr_fr      fr60,fr16
106
        test_fr_fr      fr60,fr20
107
        test_fr_fr      fr62,fr16
108
        test_fr_fr      fr62,fr20
109
        test_spr_immed  0,fner1
110
        test_spr_immed  0,fner0
111
 
112
        nfdmss          fr20,fr4,fr60
113
        test_fr_fr      fr60,fr16
114
        test_fr_fr      fr60,fr20
115
        test_fr_fr      fr62,fr16
116
        test_fr_fr      fr62,fr20
117
        test_spr_immed  0,fner1
118
        test_spr_immed  0,fner0
119
        nfdmss          fr20,fr8,fr60
120
        test_fr_fr      fr60,fr16
121
        test_fr_fr      fr60,fr20
122
        test_fr_fr      fr61,fr28
123
        test_fr_fr      fr62,fr16
124
        test_fr_fr      fr62,fr20
125
        test_fr_fr      fr63,fr28
126
        test_spr_immed  0,fner1
127
        test_spr_immed  0,fner0
128
        nfdmss          fr20,fr12,fr60
129
        test_fr_fr      fr60,fr16
130
        test_fr_fr      fr60,fr20
131
        test_fr_fr      fr62,fr16
132
        test_fr_fr      fr62,fr20
133
        test_spr_immed  0,fner1
134
        test_spr_immed  0,fner0
135
        nfdmss          fr20,fr16,fr60
136
        test_fr_fr      fr60,fr16
137
        test_fr_fr      fr60,fr20
138
        test_fr_fr      fr61,fr16
139
        test_fr_fr      fr61,fr20
140
        test_fr_fr      fr62,fr16
141
        test_fr_fr      fr62,fr20
142
        test_fr_fr      fr63,fr16
143
        test_fr_fr      fr63,fr20
144
        test_spr_immed  0,fner1
145
        test_spr_immed  0,fner0
146
        nfdmss          fr20,fr20,fr60
147
        test_fr_fr      fr60,fr16
148
        test_fr_fr      fr60,fr20
149
        test_fr_fr      fr61,fr16
150
        test_fr_fr      fr61,fr20
151
        test_fr_fr      fr62,fr16
152
        test_fr_fr      fr62,fr20
153
        test_fr_fr      fr63,fr16
154
        test_fr_fr      fr63,fr20
155
        test_spr_immed  0,fner1
156
        test_spr_immed  0,fner0
157
        nfdmss          fr20,fr24,fr60
158
        test_fr_fr      fr60,fr16
159
        test_fr_fr      fr60,fr20
160
        test_fr_fr      fr62,fr16
161
        test_fr_fr      fr62,fr20
162
        test_spr_immed  0,fner1
163
        test_spr_immed  0,fner0
164
        nfdmss          fr20,fr28,fr60
165
        test_fr_fr      fr60,fr16
166
        test_fr_fr      fr60,fr20
167
        test_fr_fr      fr61,fr8
168
        test_fr_fr      fr62,fr16
169
        test_fr_fr      fr62,fr20
170
        test_fr_fr      fr63,fr8
171
        test_spr_immed  0,fner1
172
        test_spr_immed  0,fner0
173
        nfdmss          fr20,fr32,fr60
174
        test_fr_fr      fr60,fr16
175
        test_fr_fr      fr60,fr20
176
        test_fr_fr      fr62,fr16
177
        test_fr_fr      fr62,fr20
178
        test_spr_immed  0,fner1
179
        test_spr_immed  0,fner0
180
        nfdmss          fr20,fr36,fr60
181
        test_fr_fr      fr60,fr16
182
        test_fr_fr      fr60,fr20
183
        test_fr_fr      fr62,fr16
184
        test_fr_fr      fr62,fr20
185
        test_spr_immed  0,fner1
186
        test_spr_immed  0,fner0
187
        nfdmss          fr20,fr40,fr60
188
        test_fr_fr      fr60,fr16
189
        test_fr_fr      fr60,fr20
190
        test_fr_fr      fr62,fr16
191
        test_fr_fr      fr62,fr20
192
        test_spr_immed  0,fner1
193
        test_spr_immed  0,fner0
194
        nfdmss          fr20,fr44,fr60
195
        test_fr_fr      fr60,fr16
196
        test_fr_fr      fr60,fr20
197
        test_fr_fr      fr62,fr16
198
        test_fr_fr      fr62,fr20
199
        test_spr_immed  0,fner1
200
        test_spr_immed  0,fner0
201
        nfdmss          fr20,fr48,fr60
202
        test_fr_fr      fr60,fr16
203
        test_fr_fr      fr60,fr20
204
        test_fr_fr      fr62,fr16
205
        test_fr_fr      fr62,fr20
206
        test_spr_immed  0,fner1
207
        test_spr_immed  0,fner0
208
 
209
        nfdmss          fr28,fr0,fr60
210
        test_fr_fr      fr60,fr0
211
        test_fr_fr      fr62,fr0
212
        test_spr_immed  0,fner1
213
        test_spr_immed  0,fner0
214
        nfdmss          fr28,fr4,fr60
215
        test_fr_fr      fr60,fr4
216
        test_fr_fr      fr62,fr4
217
        test_spr_immed  0,fner1
218
        test_spr_immed  0,fner0
219
        nfdmss          fr28,fr8,fr60
220
        test_fr_fr      fr60,fr8
221
        test_fr_fr      fr61,fr32
222
        test_fr_fr      fr62,fr8
223
        test_fr_fr      fr63,fr32
224
        test_spr_immed  0,fner1
225
        test_spr_immed  0,fner0
226
        nfdmss          fr28,fr12,fr60
227
        test_fr_fr      fr60,fr12
228
        test_fr_fr      fr62,fr12
229
        test_spr_immed  0,fner1
230
        test_spr_immed  0,fner0
231
        nfdmss          fr28,fr16,fr60
232
        test_fr_fr      fr60,fr16
233
        test_fr_fr      fr60,fr20
234
        test_fr_fr      fr61,fr28
235
        test_fr_fr      fr62,fr16
236
        test_fr_fr      fr62,fr20
237
        test_fr_fr      fr63,fr28
238
        test_spr_immed  0,fner1
239
        test_spr_immed  0,fner0
240
        nfdmss          fr28,fr20,fr60
241
        test_fr_fr      fr60,fr16
242
        test_fr_fr      fr60,fr20
243
        test_fr_fr      fr61,fr28
244
        test_fr_fr      fr62,fr16
245
        test_fr_fr      fr62,fr20
246
        test_fr_fr      fr63,fr28
247
        test_spr_immed  0,fner1
248
        test_spr_immed  0,fner0
249
        nfdmss          fr28,fr24,fr60
250
        test_fr_fr      fr60,fr24
251
        test_fr_fr      fr62,fr24
252
        test_spr_immed  0,fner1
253
        test_spr_immed  0,fner0
254
        nfdmss          fr28,fr28,fr60
255
        test_fr_fr      fr60,fr28
256
        test_fr_fr      fr61,fr20
257
        test_fr_fr      fr61,fr16
258
        test_fr_fr      fr62,fr28
259
        test_fr_fr      fr63,fr20
260
        test_fr_fr      fr63,fr16
261
        test_spr_immed  0,fner1
262
        test_spr_immed  0,fner0
263
        nfdmss          fr28,fr32,fr60
264
        test_fr_fr      fr60,fr32
265
        test_fr_fr      fr61,fr8
266
        test_fr_fr      fr62,fr32
267
        test_fr_fr      fr63,fr8
268
        test_spr_immed  0,fner1
269
        test_spr_immed  0,fner0
270
        nfdmss          fr28,fr36,fr60
271
        test_fr_fr      fr60,fr36
272
        test_fr_fr      fr62,fr36
273
        test_spr_immed  0,fner1
274
        test_spr_immed  0,fner0
275
        nfdmss          fr28,fr40,fr60
276
        test_fr_fr      fr60,fr40
277
        test_fr_fr      fr62,fr40
278
        test_spr_immed  0,fner1
279
        test_spr_immed  0,fner0
280
        nfdmss          fr28,fr44,fr60
281
        test_fr_fr      fr60,fr44
282
        test_fr_fr      fr62,fr44
283
        test_spr_immed  0,fner1
284
        test_spr_immed  0,fner0
285
        nfdmss          fr28,fr48,fr60
286
        test_fr_fr      fr60,fr48
287
        test_fr_fr      fr62,fr48
288
        test_spr_immed  0,fner1
289
        test_spr_immed  0,fner0
290
        nfdmss          fr28,fr52,fr60
291
        test_fr_fr      fr60,fr52
292
        test_fr_fr      fr62,fr52
293
        test_spr_immed  0,fner1
294
        test_spr_immed  0,fner0
295
 
296
        nfdmss          fr28,fr8,fr60
297
        test_fr_fr      fr60,fr8
298
        test_fr_fr      fr61,fr32
299
        test_fr_fr      fr62,fr8
300
        test_fr_fr      fr63,fr32
301
        test_spr_immed  0,fner1
302
        test_spr_immed  0,fner0
303
        nfdmss          fr8,fr28,fr60
304
        test_fr_fr      fr60,fr8
305
        test_fr_fr      fr62,fr8
306
        test_spr_immed  0,fner1
307
        test_spr_immed  0,fner0
308
 
309
        nfdmss          fr32,fr36,fr60
310
        test_fr_fr      fr60,fr40
311
        test_fr_fr      fr61,fr8
312
        test_fr_fr      fr62,fr40
313
        test_fr_fr      fr63,fr8
314
        test_spr_immed  0,fner1
315
        test_spr_immed  0,fner0
316
 
317
        ; TODO -- test cases to set ne flags
318
 
319
        pass

powered by: WebSVN 2.1.0

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