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

Subversion Repositories fpu

[/] [fpu/] [trunk/] [test_vectors/] [mkall.bat] - Blame information for rev 11

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 rudi
 
2
rem -------------------- fasu round to nearest even
3
 
4
pg -q -r 0 -m 1 -p 0          -o rtne/fasu_pat0a.hex
5
pg -q -r 0 -m 2 -p 0          -o rtne/fasu_pat0b.hex
6
 
7
pg -q -r 0 -m 1 -p 1          -o rtne/fasu_pat1a.hex
8
pg -q -r 0 -m 2 -p 1          -o rtne/fasu_pat1b.hex
9
 
10
pg -q -r 0 -m 1 -p 2          -o rtne/fasu_pat2a.hex
11
pg -q -r 0 -m 2 -p 2          -o rtne/fasu_pat2b.hex
12
 
13
pg -q -r 0 -m 1 -n 199990 -ll -o rtne/fasu_lga.hex
14
pg -q -r 0 -m 2 -n 199990 -ll -o rtne/fasu_lgb.hex
15
 
16
pg -q -r 0 -m 1 -n 199990     -o rtne/fasu_sma.hex
17
pg -q -r 0 -m 2 -n 199990     -o rtne/fasu_smb.hex
18
 
19
 
20
rem -------------------- fasu round to zero
21
 
22
pg -q -r 3 -m 1 -p 0          -o rtzero/fasu_pat0a.hex
23
pg -q -r 3 -m 2 -p 0          -o rtzero/fasu_pat0b.hex
24
 
25
pg -q -r 3 -m 1 -p 1          -o rtzero/fasu_pat1a.hex
26
pg -q -r 3 -m 2 -p 1          -o rtzero/fasu_pat1b.hex
27
 
28
pg -q -r 3 -m 1 -p 2          -o rtzero/fasu_pat2a.hex
29
pg -q -r 3 -m 2 -p 2          -o rtzero/fasu_pat2b.hex
30
 
31
pg -q -r 3 -m 1 -n 199990 -ll -o rtzero/fasu_lga.hex
32
pg -q -r 3 -m 2 -n 199990 -ll -o rtzero/fasu_lgb.hex
33
 
34
pg -q -r 3 -m 1 -n 199990     -o rtzero/fasu_sma.hex
35
pg -q -r 3 -m 2 -n 199990     -o rtzero/fasu_smb.hex
36
 
37
 
38
rem -------------------- fasu round to inf + (up)
39
 
40
pg -q -r 2 -m 1 -p 0          -o rup/fasu_pat0a.hex
41
pg -q -r 2 -m 2 -p 0          -o rup/fasu_pat0b.hex
42
 
43
pg -q -r 2 -m 1 -p 1          -o rup/fasu_pat1a.hex
44
pg -q -r 2 -m 2 -p 1          -o rup/fasu_pat1b.hex
45
 
46
pg -q -r 2 -m 1 -p 2          -o rup/fasu_pat2a.hex
47
pg -q -r 2 -m 2 -p 2          -o rup/fasu_pat2b.hex
48
 
49
pg -q -r 2 -m 1 -n 199990 -ll -o rup/fasu_lga.hex
50
pg -q -r 2 -m 2 -n 199990 -ll -o rup/fasu_lgb.hex
51
 
52
pg -q -r 2 -m 1 -n 199990     -o rup/fasu_sma.hex
53
pg -q -r 2 -m 2 -n 199990     -o rup/fasu_smb.hex
54
 
55
 
56
rem -------------------- fasu round to inf - (down)
57
 
58
pg -q -r 1 -m 1 -p 0          -o rdown/fasu_pat0a.hex
59
pg -q -r 1 -m 2 -p 0          -o rdown/fasu_pat0b.hex
60
 
61
pg -q -r 1 -m 1 -p 1          -o rdown/fasu_pat1a.hex
62
pg -q -r 1 -m 2 -p 1          -o rdown/fasu_pat1b.hex
63
 
64
pg -q -r 1 -m 1 -p 2          -o rdown/fasu_pat2a.hex
65
pg -q -r 1 -m 2 -p 2          -o rdown/fasu_pat2b.hex
66
 
67
pg -q -r 1 -m 1 -n 199990 -ll -o rdown/fasu_lga.hex
68
pg -q -r 1 -m 2 -n 199990 -ll -o rdown/fasu_lgb.hex
69
 
70
pg -q -r 1 -m 1 -n 199990     -o rdown/fasu_sma.hex
71
pg -q -r 1 -m 2 -n 199990     -o rdown/fasu_smb.hex
72
 
73
 
74
rem -------------------- fmul round to nearest even
75
 
76
pg -q -r 0 -m 4 -p 0          -o rtne/fmul_pat0.hex
77
 
78
pg -q -r 0 -m 4 -p 1          -o rtne/fmul_pat1.hex
79
 
80
pg -q -r 0 -m 4 -p 2          -o rtne/fmul_pat2.hex
81
 
82
pg -q -r 0 -m 4 -n 199990 -ll -o rtne/fmul_lg.hex
83
 
84
pg -q -r 0 -m 4 -n 199990     -o rtne/fmul_sm.hex
85
 
86
 
87
rem -------------------- fmul round to zero
88
 
89
pg -q -r 3 -m 4 -p 0          -o rtzero/fmul_pat0.hex
90
 
91
pg -q -r 3 -m 4 -p 1          -o rtzero/fmul_pat1.hex
92
 
93
pg -q -r 3 -m 4 -p 2          -o rtzero/fmul_pat2.hex
94
 
95
pg -q -r 3 -m 4 -n 199990 -ll -o rtzero/fmul_lg.hex
96
 
97
pg -q -r 3 -m 4 -n 199990     -o rtzero/fmul_sm.hex
98
 
99
 
100
 
101
rem -------------------- fmul round to inf + (up)
102
 
103
pg -q -r 2 -m 4 -p 0          -o rup/fmul_pat0.hex
104
 
105
pg -q -r 2 -m 4 -p 1          -o rup/fmul_pat1.hex
106
 
107
pg -q -r 2 -m 4 -p 2          -o rup/fmul_pat2.hex
108
 
109
pg -q -r 2 -m 4 -n 199990 -ll -o rup/fmul_lg.hex
110
 
111
pg -q -r 2 -m 4 -n 199990     -o rup/fmul_sm.hex
112
 
113
 
114
 
115
rem -------------------- fmul round to inf - (down)
116
 
117
pg -q -r 1 -m 4 -p 0          -o rdown/fmul_pat0.hex
118
 
119
pg -q -r 1 -m 4 -p 1          -o rdown/fmul_pat1.hex
120
 
121
pg -q -r 1 -m 4 -p 2          -o rdown/fmul_pat2.hex
122
 
123
pg -q -r 1 -m 4 -n 199990 -ll -o rdown/fmul_lg.hex
124
 
125
pg -q -r 1 -m 4 -n 199990     -o rdown/fmul_sm.hex
126
 
127
 
128
rem -------------------- fdiv round to nearest even
129
 
130
pg -q -r 0 -m 8 -p 0          -o rtne/fdiv_pat0.hex
131
 
132
pg -q -r 0 -m 8 -p 1          -o rtne/fdiv_pat1.hex
133
 
134
pg -q -r 0 -m 8 -p 2          -o rtne/fdiv_pat2.hex
135
 
136
pg -q -r 0 -m 8 -n 199990 -ll -o rtne/fdiv_lg.hex
137
 
138
pg -q -r 0 -m 8 -n 199990     -o rtne/fdiv_sm.hex
139
 
140
 
141
rem -------------------- fdiv round to zero
142
 
143
pg -q -r 3 -m 8 -p 0          -o rtzero/fdiv_pat0.hex
144
 
145
pg -q -r 3 -m 8 -p 1          -o rtzero/fdiv_pat1.hex
146
 
147
pg -q -r 3 -m 8 -p 2          -o rtzero/fdiv_pat2.hex
148
 
149
pg -q -r 3 -m 8 -n 199990 -ll -o rtzero/fdiv_lg.hex
150
 
151
pg -q -r 3 -m 8 -n 199990     -o rtzero/fdiv_sm.hex
152
 
153
 
154
 
155
rem -------------------- fdiv round to inf + (up)
156
 
157
pg -q -r 2 -m 8 -p 0          -o rup/fdiv_pat0.hex
158
 
159
pg -q -r 2 -m 8 -p 1          -o rup/fdiv_pat1.hex
160
 
161
pg -q -r 2 -m 8 -p 2          -o rup/fdiv_pat2.hex
162
 
163
pg -q -r 2 -m 8 -n 199990 -ll -o rup/fdiv_lg.hex
164
 
165
pg -q -r 2 -m 8 -n 199990     -o rup/fdiv_sm.hex
166
 
167
 
168
 
169
rem -------------------- fdiv round to inf - (down)
170
 
171
pg -q -r 1 -m 8 -p 0          -o rdown/fdiv_pat0.hex
172
 
173
pg -q -r 1 -m 8 -p 1          -o rdown/fdiv_pat1.hex
174
 
175
pg -q -r 1 -m 8 -p 2          -o rdown/fdiv_pat2.hex
176
 
177
pg -q -r 1 -m 8 -n 199990 -ll -o rdown/fdiv_lg.hex
178
 
179
pg -q -r 1 -m 8 -n 199990     -o rdown/fdiv_sm.hex
180
 
181
 
182
rem -------------------- Combo Tests
183
 
184
pg -q -m 15 -R -n 499995 -ll    -o combo/fpu_combo1.hex
185
 
186
pg -q -m 15 -R -n 499995 -s 17  -o combo/fpu_combo2.hex
187 5 rudi
 
188
pg -q -m 63 -R -n 499995 -ll -s 7 -o combo/fpu_combo3.hex
189
 
190
pg -q -m 63 -R -n 499995 -s 255   -o combo/fpu_combo4.hex
191
 
192
 
193
 
194
rem -------------------- i2f round to nearest even
195
 
196
pg -q -r 0 -m 16 -p 0          -o rtne/i2f_pat0.hex
197
 
198
pg -q -r 0 -m 16 -p 1          -o rtne/i2f_pat1.hex
199
 
200
pg -q -r 0 -m 16 -p 2          -o rtne/i2f_pat2.hex
201
 
202
pg -q -r 0 -m 16 -n 199990 -ll -o rtne/i2f_lg.hex
203
 
204
pg -q -r 0 -m 16 -n 199990     -o rtne/i2f_sm.hex
205
 
206
 
207
rem -------------------- i2f round to zero
208
 
209
pg -q -r 3 -m 16 -p 0          -o rtzero/i2f_pat0.hex
210
 
211
pg -q -r 3 -m 16 -p 1          -o rtzero/i2f_pat1.hex
212
 
213
pg -q -r 3 -m 16 -p 2          -o rtzero/i2f_pat2.hex
214
 
215
pg -q -r 3 -m 16 -n 199990 -ll -o rtzero/i2f_lg.hex
216
 
217
pg -q -r 3 -m 16 -n 199990     -o rtzero/i2f_sm.hex
218
 
219
 
220
 
221
rem -------------------- i2f round to inf + (up)
222
 
223
pg -q -r 2 -m 16 -p 0          -o rup/i2f_pat0.hex
224
 
225
pg -q -r 2 -m 16 -p 1          -o rup/i2f_pat1.hex
226
 
227
pg -q -r 2 -m 16 -p 2          -o rup/i2f_pat2.hex
228
 
229
pg -q -r 2 -m 16 -n 199990 -ll -o rup/i2f_lg.hex
230
 
231
pg -q -r 2 -m 16 -n 199990     -o rup/i2f_sm.hex
232
 
233
 
234
 
235
rem -------------------- i2f round to inf - (down)
236
 
237
pg -q -r 1 -m 16 -p 0          -o rdown/i2f_pat0.hex
238
 
239
pg -q -r 1 -m 16 -p 1          -o rdown/i2f_pat1.hex
240
 
241
pg -q -r 1 -m 16 -p 2          -o rdown/i2f_pat2.hex
242
 
243
pg -q -r 1 -m 16 -n 199990 -ll -o rdown/i2f_lg.hex
244
 
245
pg -q -r 1 -m 16 -n 199990     -o rdown/i2f_sm.hex
246
 
247
 
248
 
249
rem -------------------- f2i round to nearest even
250
 
251
pg -q -r 0 -m 32 -p 0          -o rtne/f2i_pat0.hex
252
 
253
pg -q -r 0 -m 32 -p 1          -o rtne/f2i_pat1.hex
254
 
255
pg -q -r 0 -m 32 -p 2          -o rtne/f2i_pat2.hex
256
 
257
pg -q -r 0 -m 32 -n 199990 -ll -o rtne/f2i_lg.hex
258
 
259
pg -q -r 0 -m 32 -n 199990     -o rtne/f2i_sm.hex
260
 
261
 
262
rem -------------------- f2i round to zero
263
 
264
pg -q -r 3 -m 32 -p 0          -o rtzero/f2i_pat0.hex
265
 
266
pg -q -r 3 -m 32 -p 1          -o rtzero/f2i_pat1.hex
267
 
268
pg -q -r 3 -m 32 -p 2          -o rtzero/f2i_pat2.hex
269
 
270
pg -q -r 3 -m 32 -n 199990 -ll -o rtzero/f2i_lg.hex
271
 
272
pg -q -r 3 -m 32 -n 199990     -o rtzero/f2i_sm.hex
273
 
274
 
275
 
276
rem -------------------- f2i round to inf + (up)
277
 
278
pg -q -r 2 -m 32 -p 0          -o rup/f2i_pat0.hex
279
 
280
pg -q -r 2 -m 32 -p 1          -o rup/f2i_pat1.hex
281
 
282
pg -q -r 2 -m 32 -p 2          -o rup/f2i_pat2.hex
283
 
284
pg -q -r 2 -m 32 -n 199990 -ll -o rup/f2i_lg.hex
285
 
286
pg -q -r 2 -m 32 -n 199990     -o rup/f2i_sm.hex
287
 
288
 
289
 
290
rem -------------------- f2i round to inf - (down)
291
 
292
pg -q -r 1 -m 32 -p 0          -o rdown/f2i_pat0.hex
293
 
294
pg -q -r 1 -m 32 -p 1          -o rdown/f2i_pat1.hex
295
 
296
pg -q -r 1 -m 32 -p 2          -o rdown/f2i_pat2.hex
297
 
298
pg -q -r 1 -m 32 -n 199990 -ll -o rdown/f2i_lg.hex
299
 
300
pg -q -r 1 -m 32 -n 199990     -o rdown/f2i_sm.hex
301
 
302
 
303
rem -------------------- frem round to nearest even
304
 
305
pg -q -r 0 -m 64 -p 0          -o rtne/frem_pat0.hex
306
 
307
pg -q -r 0 -m 64 -p 1          -o rtne/frem_pat1.hex
308
 
309
pg -q -r 0 -m 64 -p 2          -o rtne/frem_pat2.hex
310
 
311
pg -q -r 0 -m 64 -n 199990 -ll -o rtne/frem_lg.hex
312
 
313
pg -q -r 0 -m 64 -n 199990     -o rtne/frem_sm.hex
314
 
315
 
316
rem -------------------- frem round to zero
317
 
318
pg -q -r 3 -m 64 -p 0          -o rtzero/frem_pat0.hex
319
 
320
pg -q -r 3 -m 64 -p 1          -o rtzero/frem_pat1.hex
321
 
322
pg -q -r 3 -m 64 -p 2          -o rtzero/frem_pat2.hex
323
 
324
pg -q -r 3 -m 64 -n 199990 -ll -o rtzero/frem_lg.hex
325
 
326
pg -q -r 3 -m 64 -n 199990     -o rtzero/frem_sm.hex
327
 
328
 
329
 
330
rem -------------------- frem round to inf + (up)
331
 
332
pg -q -r 2 -m 64 -p 0          -o rup/frem_pat0.hex
333
 
334
pg -q -r 2 -m 64 -p 1          -o rup/frem_pat1.hex
335
 
336
pg -q -r 2 -m 64 -p 2          -o rup/frem_pat2.hex
337
 
338
pg -q -r 2 -m 64 -n 199990 -ll -o rup/frem_lg.hex
339
 
340
pg -q -r 2 -m 64 -n 199990     -o rup/frem_sm.hex
341
 
342
 
343
 
344
rem -------------------- frem round to inf - (down)
345
 
346
pg -q -r 1 -m 64 -p 0          -o rdown/frem_pat0.hex
347
 
348
pg -q -r 1 -m 64 -p 1          -o rdown/frem_pat1.hex
349
 
350
pg -q -r 1 -m 64 -p 2          -o rdown/frem_pat2.hex
351
 
352
pg -q -r 1 -m 64 -n 199990 -ll -o rdown/frem_lg.hex
353
 
354
pg -q -r 1 -m 64 -n 199990     -o rdown/frem_sm.hex

powered by: WebSVN 2.1.0

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