File tree Expand file tree Collapse file tree 1 file changed +159
-10
lines changed Expand file tree Collapse file tree 1 file changed +159
-10
lines changed Original file line number Diff line number Diff line change 103
103
.align 3
104
104
105
105
.L12:
106
+ #ifdef DSDOT
107
+ cvt.d.s a1, a1
108
+ cvt.d.s b1, b1
109
+ madd.d s1, s1, a1, b1
110
+ #else
106
111
MADD s1, s1, a1, b1
112
+ #endif
107
113
LD a1, 4 * SIZE(X)
108
114
LD b1, 4 * SIZE(Y)
109
115
116
+ #ifdef DSDOT
117
+ cvt.d.s a2, a2
118
+ cvt.d.s b2, b2
119
+ madd.d s2, s2, a2, b2
120
+ #else
110
121
MADD s2, s2, a2, b2
122
+ #endif
111
123
LD a2, 5 * SIZE(X)
112
124
LD b2, 5 * SIZE(Y)
113
125
126
+ #ifdef DSDOT
127
+ cvt.d.s a3, a3
128
+ cvt.d.s b3, b3
129
+ madd.d s1, s1, a3, b3
130
+ #else
114
131
MADD s1, s1, a3, b3
132
+ #endif
115
133
LD a3, 6 * SIZE(X)
116
134
LD b3, 6 * SIZE(Y)
117
135
136
+ #ifdef DSDOT
137
+ cvt.d.s a4, a4
138
+ cvt.d.s b4, b4
139
+ madd.d s2, s2, a4, b4
140
+ #else
118
141
MADD s2, s2, a4, b4
142
+ #endif
119
143
LD a4, 7 * SIZE(X)
120
144
LD b4, 7 * SIZE(Y)
121
145
146
+ #ifdef DSDOT
147
+ cvt.d.s a1, a1
148
+ cvt.d.s b1, b1
149
+ madd.d s1, s1, a1, b1
150
+ #else
122
151
MADD s1, s1, a1, b1
152
+ #endif
123
153
LD a1, 8 * SIZE(X)
124
154
LD b1, 8 * SIZE(Y)
125
155
156
+ #ifdef DSDOT
157
+ cvt.d.s a2, a2
158
+ cvt.d.s b2, b2
159
+ madd.d s2, s2, a2, b2
160
+ #else
126
161
MADD s2, s2, a2, b2
162
+ #endif
127
163
LD a2, 9 * SIZE(X)
128
164
LD b2, 9 * SIZE(Y)
129
165
166
+ #ifdef DSDOT
167
+ cvt.d.s a3, a3
168
+ cvt.d.s b3, b3
169
+ madd.d s1, s1, a3, b3
170
+ #else
130
171
MADD s1, s1, a3, b3
172
+ #endif
131
173
LD a3, 10 * SIZE(X)
132
174
LD b3, 10 * SIZE(Y)
133
175
176
+ #ifdef DSDOT
177
+ cvt.d.s a4, a4
178
+ cvt.d.s b4, b4
179
+ madd.d s2, s2, a4, b4
180
+ #else
134
181
MADD s2, s2, a4, b4
182
+ #endif
135
183
LD a4, 11 * SIZE(X)
136
184
LD b4, 11 * SIZE(Y)
137
185
143
191
.align 3
144
192
145
193
.L13:
194
+ #ifdef DSDOT
195
+ cvt.d.s a1, a1
196
+ cvt.d.s b1, b1
197
+ madd.d s1, s1, a1, b1
198
+ #else
146
199
MADD s1, s1, a1, b1
200
+ #endif
147
201
LD a1, 4 * SIZE(X)
148
202
LD b1, 4 * SIZE(Y)
149
203
204
+ #ifdef DSDOT
205
+ cvt.d.s a2, a2
206
+ cvt.d.s b2, b2
207
+ madd.d s2, s2, a2, b2
208
+ #else
150
209
MADD s2, s2, a2, b2
210
+ #endif
151
211
LD a2, 5 * SIZE(X)
152
212
LD b2, 5 * SIZE(Y)
153
213
214
+ #ifdef DSDOT
215
+ cvt.d.s a3, a3
216
+ cvt.d.s b3, b3
217
+ madd.d s1, s1, a3, b3
218
+ #else
154
219
MADD s1, s1, a3, b3
220
+ #endif
155
221
LD a3, 6 * SIZE(X)
156
222
LD b3, 6 * SIZE(Y)
157
223
224
+ #ifdef DSDOT
225
+ cvt.d.s a4, a4
226
+ cvt.d.s b4, b4
227
+ madd.d s2, s2, a4, b4
228
+ #else
158
229
MADD s2, s2, a4, b4
230
+ #endif
159
231
LD a4, 7 * SIZE(X)
160
232
LD b4, 7 * SIZE(Y)
161
233
234
+ #ifdef DSDOT
235
+ cvt.d.s a1, a1
236
+ cvt.d.s b1, b1
237
+ madd.d s1, s1, a1, b1
238
+ #else
162
239
MADD s1, s1, a1, b1
240
+ #endif
163
241
daddiu X, X, 8 * SIZE
242
+ #ifdef DSDOT
243
+ cvt.d.s a2, a2
244
+ cvt.d.s b2, b2
245
+ madd.d s2, s2, a2, b2
246
+ #else
164
247
MADD s2, s2, a2, b2
248
+ #endif
165
249
daddiu Y, Y, 8 * SIZE
166
250
251
+ #ifdef DSDOT
252
+ cvt.d.s a3, a3
253
+ cvt.d.s b3, b3
254
+ madd.d s1, s1, a3, b3
255
+ #else
167
256
MADD s1, s1, a3, b3
257
+ #endif
258
+ #ifdef DSDOT
259
+ cvt.d.s a4, a4
260
+ cvt.d.s b4, b4
261
+ madd.d s2, s2, a4, b4
262
+ #else
168
263
MADD s2, s2, a4, b4
264
+ #endif
169
265
.align 3
170
266
171
267
.L15:
179
275
LD a1, 0 * SIZE(X)
180
276
LD b1, 0 * SIZE(Y)
181
277
278
+ #ifdef DSDOT
279
+ cvt.d.s a1, a1
280
+ cvt.d.s b1, b1
281
+ madd.d s1, s1, a1, b1
282
+ #else
182
283
MADD s1, s1, a1, b1
183
-
284
+ #endif
184
285
daddiu I, I, -1
185
286
186
287
daddiu X, X, SIZE
225
326
LD b1, 0 * SIZE(Y)
226
327
dadd Y, Y, INCY
227
328
329
+ #ifdef DSDOT
330
+ cvt.d.s a1, a1
331
+ cvt.d.s b1, b1
332
+ madd.d s1, s1, a1, b1
333
+ #else
228
334
MADD s1, s1, a1, b1
229
-
335
+ #endif
230
336
LD a1, 0 * SIZE(X)
231
337
dadd X, X, INCX
232
338
LD b1, 0 * SIZE(Y)
233
339
dadd Y, Y, INCY
234
340
341
+ #ifdef DSDOT
342
+ cvt.d.s a1, a1
343
+ cvt.d.s b1, b1
344
+ madd.d s2, s2, a1, b1
345
+ #else
235
346
MADD s2, s2, a1, b1
236
-
347
+ #endif
237
348
LD a1, 0 * SIZE(X)
238
349
dadd X, X, INCX
239
350
LD b1, 0 * SIZE(Y)
240
351
dadd Y, Y, INCY
241
352
353
+ #ifdef DSDOT
354
+ cvt.d.s a1, a1
355
+ cvt.d.s b1, b1
356
+ madd.d s1, s1, a1, b1
357
+ #else
242
358
MADD s1, s1, a1, b1
243
-
359
+ #endif
244
360
LD a1, 0 * SIZE(X)
245
361
dadd X, X, INCX
246
362
LD b1, 0 * SIZE(Y)
247
363
dadd Y, Y, INCY
248
364
365
+ #ifdef DSDOT
366
+ cvt.d.s a1, a1
367
+ cvt.d.s b1, b1
368
+ madd.d s2, s2, a1, b1
369
+ #else
249
370
MADD s2, s2, a1, b1
250
-
371
+ #endif
251
372
LD a1, 0 * SIZE(X)
252
373
dadd X, X, INCX
253
374
LD b1, 0 * SIZE(Y)
254
375
dadd Y, Y, INCY
255
376
377
+ #ifdef DSDOT
378
+ cvt.d.s a1, a1
379
+ cvt.d.s b1, b1
380
+ madd.d s1, s1, a1, b1
381
+ #else
256
382
MADD s1, s1, a1, b1
257
-
383
+ #endif
258
384
LD a1, 0 * SIZE(X)
259
385
dadd X, X, INCX
260
386
LD b1, 0 * SIZE(Y)
261
387
dadd Y, Y, INCY
262
388
389
+ #ifdef DSDOT
390
+ cvt.d.s a1, a1
391
+ cvt.d.s b1, b1
392
+ madd.d s2, s2, a1, b1
393
+ #else
263
394
MADD s2, s2, a1, b1
264
-
395
+ #endif
265
396
LD a1, 0 * SIZE(X)
266
397
dadd X, X, INCX
267
398
LD b1, 0 * SIZE(Y)
268
399
dadd Y, Y, INCY
269
400
401
+ #ifdef DSDOT
402
+ cvt.d.s a1, a1
403
+ cvt.d.s b1, b1
404
+ madd.d s1, s1, a1, b1
405
+ #else
270
406
MADD s1, s1, a1, b1
271
-
407
+ #endif
272
408
LD a1, 0 * SIZE(X)
273
409
dadd X, X, INCX
274
410
LD b1, 0 * SIZE(Y)
277
413
daddiu I, I, -1
278
414
279
415
bgtz I, .L23
416
+ #ifdef DSDOT
417
+ cvt.d.s a1, a1
418
+ cvt.d.s b1, b1
419
+ madd.d s2, s2, a1, b1
420
+ #else
280
421
MADD s2, s2, a1, b1
422
+ #endif
281
423
.align 3
282
424
283
425
.L25:
296
438
daddiu I, I, -1
297
439
298
440
bgtz I, .L26
441
+ #ifdef DSDOT
442
+ cvt.d.s a1, a1
443
+ cvt.d.s b1, b1
444
+ madd.d s1, s1, a1, b1
445
+ #else
299
446
MADD s1, s1, a1, b1
447
+ #endif
300
448
.align 3
301
449
302
450
.L999:
303
- ADD s1, s1, s2
304
451
#ifdef DSDOT
305
- cvt.d.s s1, s1
452
+ add .d s1, s1, s2
453
+ #else
454
+ ADD s1, s1, s2
306
455
#endif
307
456
j $31
308
457
NOP
You can’t perform that action at this time.
0 commit comments