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

Subversion Repositories openrisc

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

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

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

powered by: WebSVN 2.1.0

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