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

Subversion Repositories openrisc

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

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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