Project

General

Profile

Bug #9171 ยป 2log2.txt

Alexander Protsenko, 07/27/2018 04:03 PM

 
1

    
2
C:\!microtesk\MicroTESK-RISC-V\microtesk-riscv\microtesk-riscv\src\main\arch\riscv\templates>C:\!microtesk\MicroTESK-RISC-V\microtesk-riscv\microtesk-riscv\build\target\bin\generate.bat riscv isa_tests/rv64uf/fmadd.rb --code-file-prefix isa_tests/rv64uf/madd --code-file-extension s -v --ri RV64FULL 
3

    
4
C:\!microtesk\MicroTESK-RISC-V\microtesk-riscv\microtesk-riscv\src\main\arch\riscv\templates>java -ea -jar "C:\!microtesk\MicroTESK-RISC-V\microtesk-riscv\microtesk-riscv\build\target/lib/jars/microtesk.jar" -g riscv isa_tests/rv64uf/fmadd.rb --code-file-prefix isa_tests/rv64uf/madd --code-file-extension s -v --ri RV64FULL 
5
Home: C:\!microtesk\MicroTESK-RISC-V\microtesk-riscv\microtesk-riscv\build\target
6
Current directory: C:\!microtesk\MicroTESK-RISC-V\microtesk-riscv\microtesk-riscv\src\main\arch\riscv\templates
7
Model name: riscv
8
Template file: isa_tests/rv64uf/fmadd.rb
9
Loaded template RiscVBaseTemplate defined in C:/!microtesk/MicroTESK-RISC-V/microtesk-riscv/microtesk-riscv/src/main/arch/riscv/templates/riscv_base.rb
10
Loaded template FmaddTemplate defined in C:/!microtesk/MicroTESK-RISC-V/microtesk-riscv/microtesk-riscv/src/main/arch/riscv/templates/isa_tests/rv64uf/fmadd.rb
11
Processing template FmaddTemplate defined in C:/!microtesk/MicroTESK-RISC-V/microtesk-riscv/microtesk-riscv/src/main/arch/riscv/templates/isa_tests/rv64uf/fmadd.rb...
12
Instance number: 1
13

    
14
----------------------- Initializing Processing Elements -----------------------
15

    
16
The "instantiate" operation is undefined.
17
Warning: Failed to load the MMU model. Physical memory will be accessed directly.
18

    
19
------------------------- Started Processing Template --------------------------
20

    
21

    
22
------------------ Started Processing Initialization Section -------------------
23

    
24

    
25
------------------------------- Allocating data --------------------------------
26

    
27
Section: .data [pa=0x0000000080022000, va=0x0000000080022000]
28
Allocation starts: 0x0000000080022000
29

    
30
.align 4
31
.globl begin_signature
32
begin_signature:
33

    
34
------------------------------- Allocating data --------------------------------
35

    
36
Section: .data [pa=0x0000000080022000, va=0x0000000080022000]
37
Allocation starts: 0x0000000080022000
38

    
39
.align 4
40
.globl end_signature
41
end_signature:
42

    
43
------------------- Ended Processing Initialization Section --------------------
44

    
45

    
46
------------------- Started Processing Finalization Section --------------------
47

    
48

    
49
-------------------- Ended Processing Finalization Section ---------------------
50

    
51

    
52
----------------------- Started Processing Main Section ------------------------
53

    
54

    
55
------------------------------- Allocating data --------------------------------
56

    
57
Section: .data [pa=0x0000000080022000, va=0x0000000080022000]
58
Allocation starts: 0x0000000080022000
59

    
60
.align 2
61
test_2_data:
62
0x0000000080022000 (PA): .float 1.0
63
0x0000000080022004 (PA): .float 2.5
64
0x0000000080022008 (PA): .float 1.0
65
0x000000008002200c (PA): .float 3.5
66

    
67
------------------------------- Allocating data --------------------------------
68

    
69
Section: .data [pa=0x0000000080022000, va=0x0000000080022000]
70
Allocation starts: 0x0000000080022010
71

    
72
.align 2
73
test_3_data:
74
0x0000000080022010 (PA): .float -1.0
75
0x0000000080022014 (PA): .float -1235.1
76
0x0000000080022018 (PA): .float 1.1
77
0x000000008002201c (PA): .float 1236.2
78

    
79
------------------------------- Allocating data --------------------------------
80

    
81
Section: .data [pa=0x0000000080022000, va=0x0000000080022000]
82
Allocation starts: 0x0000000080022020
83

    
84
.align 2
85
test_4_data:
86
0x0000000080022020 (PA): .float 2.0
87
0x0000000080022024 (PA): .float -5.0
88
0x0000000080022028 (PA): .float -2.0
89
0x000000008002202c (PA): .float -12.0
90

    
91
------------------------------- Allocating data --------------------------------
92

    
93
Section: .data [pa=0x0000000080022000, va=0x0000000080022000]
94
Allocation starts: 0x0000000080022030
95

    
96
.align 2
97
test_5_data:
98
0x0000000080022030 (PA): .float 1.0
99
0x0000000080022034 (PA): .float 2.5
100
0x0000000080022038 (PA): .float 1.0
101
0x000000008002203c (PA): .float -3.5
102

    
103
------------------------------- Allocating data --------------------------------
104

    
105
Section: .data [pa=0x0000000080022000, va=0x0000000080022000]
106
Allocation starts: 0x0000000080022040
107

    
108
.align 2
109
test_6_data:
110
0x0000000080022040 (PA): .float -1.0
111
0x0000000080022044 (PA): .float -1235.1
112
0x0000000080022048 (PA): .float 1.1
113
0x000000008002204c (PA): .float -1236.2
114

    
115
------------------------------- Allocating data --------------------------------
116

    
117
Section: .data [pa=0x0000000080022000, va=0x0000000080022000]
118
Allocation starts: 0x0000000080022050
119

    
120
.align 2
121
test_7_data:
122
0x0000000080022050 (PA): .float 2.0
123
0x0000000080022054 (PA): .float -5.0
124
0x0000000080022058 (PA): .float -2.0
125
0x000000008002205c (PA): .float 12.0
126

    
127
------------------------------- Allocating data --------------------------------
128

    
129
Section: .data [pa=0x0000000080022000, va=0x0000000080022000]
130
Allocation starts: 0x0000000080022060
131

    
132
.align 2
133
test_8_data:
134
0x0000000080022060 (PA): .float 1.0
135
0x0000000080022064 (PA): .float 2.5
136
0x0000000080022068 (PA): .float 1.0
137
0x000000008002206c (PA): .float 1.5
138

    
139
------------------------------- Allocating data --------------------------------
140

    
141
Section: .data [pa=0x0000000080022000, va=0x0000000080022000]
142
Allocation starts: 0x0000000080022070
143

    
144
.align 2
145
test_9_data:
146
0x0000000080022070 (PA): .float -1.0
147
0x0000000080022074 (PA): .float -1235.1
148
0x0000000080022078 (PA): .float 1.1
149
0x000000008002207c (PA): .float 0f:000004D2
150

    
151
------------------------------- Allocating data --------------------------------
152

    
153
Section: .data [pa=0x0000000080022000, va=0x0000000080022000]
154
Allocation starts: 0x0000000080022080
155

    
156
.align 2
157
test_10_data:
158
0x0000000080022080 (PA): .float 2.0
159
0x0000000080022084 (PA): .float -5.0
160
0x0000000080022088 (PA): .float -2.0
161
0x000000008002208c (PA): .float -8.0
162

    
163
------------------------------- Allocating data --------------------------------
164

    
165
Section: .data [pa=0x0000000080022000, va=0x0000000080022000]
166
Allocation starts: 0x0000000080022090
167

    
168
.align 2
169
test_11_data:
170
0x0000000080022090 (PA): .float 1.0
171
0x0000000080022094 (PA): .float 2.5
172
0x0000000080022098 (PA): .float 1.0
173
0x000000008002209c (PA): .float -1.5
174

    
175
------------------------------- Allocating data --------------------------------
176

    
177
Section: .data [pa=0x0000000080022000, va=0x0000000080022000]
178
Allocation starts: 0x00000000800220a0
179

    
180
.align 2
181
test_12_data:
182
0x00000000800220a0 (PA): .float -1.0
183
0x00000000800220a4 (PA): .float -1235.1
184
0x00000000800220a8 (PA): .float 1.1
185
0x00000000800220ac (PA): .float 0f:FFFFFB2E
186

    
187
------------------------------- Allocating data --------------------------------
188

    
189
Section: .data [pa=0x0000000080022000, va=0x0000000080022000]
190
Allocation starts: 0x00000000800220b0
191

    
192
.align 2
193
test_13_data:
194
0x00000000800220b0 (PA): .float 2.0
195
0x00000000800220b4 (PA): .float -5.0
196
0x00000000800220b8 (PA): .float -2.0
197
0x00000000800220bc (PA): .float 8.0
198

    
199
------------------- Constructed Prologue (riscv_test.rb:231) -------------------
200

    
201
	.section .text.init
202
	.align 6
203
	.weak stvec_handler
204
	.weak mtvec_handler
205
	.globl _start
206
_start:
207
	j reset_vector
208
	.align 2
209
trap_vector:
210
	csrr t5, mcause
211
	li t6, 0x8
212
	beq t5, t6, write_tohost
213
	li t6, 0x9
214
	beq t5, t6, write_tohost
215
	li t6, 0xb
216
	beq t5, t6, write_tohost
217
	la t5, mtvec_handler
218
	beqz t5, 1f
219
	jr t5
220
1:
221
	csrr t5, mcause
222
	bgez t5, handle_exception
223
	j other_exception
224
handle_exception:
225
other_exception:
226
1:
227
	ori gp, gp, 1337
228
write_tohost:
229
	nop
230
	nop
231
	j write_tohost
232
reset_vector:
233
	csrr a0, mhartid
234
1:
235
	bnez a0, 1b
236
	la t0, 1f
237
	csrw mtvec, t0
238
	csrwi satp, 0x0
239
	.align 2
240
1:
241
	la t0, 1f
242
	csrw mtvec, t0
243
	li t0, 0xffffffffffffffff
244
	csrw pmpaddr0, t0
245
	li t0, 0x1f
246
	csrw pmpcfg0, t0
247
	.align 2
248
1:
249
	la t0, 1f
250
	csrw mtvec, t0
251
	csrwi medeleg, 0x0
252
	csrwi mideleg, 0x0
253
	csrwi mie, 0x0
254
	.align 2
255
1:
256
	li gp, 0x0
257
	la t0, trap_vector
258
	csrw mtvec, t0
259
	li a0, 0x1
260
	slli a0, a0, 0x1f
261
	bgez a0, 1f
262
	fence
263
	li gp, 0x1
264
	ecall
265
1:
266
	la t0, stvec_handler
267
	beqz t0, 1f
268
	csrw stvec, t0
269
	li t0, 0xb109
270
	csrw medeleg, t0
271
	csrr t1, medeleg
272
	bne t0, t1, other_exception
273
1:
274
	csrwi mstatus, 0x0
275
	
276
	# RVTEST_FP_ENABLE
277
	li a0, 0x2000
278
	csrs mstatus, a0
279
	csrwi fcsr, 0x0
280
	
281
	la t0, 1f
282
	csrw mepc, t0
283
	csrr a0, mhartid
284
	mret
285
1:
286

    
287
------------------------------- Allocating code --------------------------------
288

    
289
Section: .section .text.init [pa=0x0000000080000000, va=0x0000000080000000]
290

    
291

    
292
------------- Constructed External Code (riscv_test_macros.rb:491) -------------
293

    
294
test_2:
295
	li gp, 0x2
296
	la a0, test_2_data
297
	flw ft0, 0(a0)
298
	flw ft1, 4(a0)
299
	flw ft2, 8(a0)
300
	lw a3, 12(a0)
301
	fmadd.s ft3, ft0, ft1, ft2
302
	fmv.x.s a0, ft3
303
	fsflags a1, zero
304
	li a2, 0x0
305
	bne a0, a3, fail
306
	bne a1, a2, fail
307
test_3:
308
	li gp, 0x3
309
	la a0, test_3_data
310
	flw ft0, 0(a0)
311
	flw ft1, 4(a0)
312
	flw ft2, 8(a0)
313
	lw a3, 12(a0)
314
	fmadd.s ft3, ft0, ft1, ft2
315
	fmv.x.s a0, ft3
316
	fsflags a1, zero
317
	li a2, 0x1
318
	bne a0, a3, fail
319
	bne a1, a2, fail
320
test_4:
321
	li gp, 0x4
322
	la a0, test_4_data
323
	flw ft0, 0(a0)
324
	flw ft1, 4(a0)
325
	flw ft2, 8(a0)
326
	lw a3, 12(a0)
327
	fmadd.s ft3, ft0, ft1, ft2
328
	fmv.x.s a0, ft3
329
	fsflags a1, zero
330
	li a2, 0x0
331
	bne a0, a3, fail
332
	bne a1, a2, fail
333
test_5:
334
	li gp, 0x5
335
	la a0, test_5_data
336
	flw ft0, 0(a0)
337
	flw ft1, 4(a0)
338
	flw ft2, 8(a0)
339
	lw a3, 12(a0)
340
	fnmadd.s ft3, ft0, ft1, ft2
341
	fmv.x.s a0, ft3
342
	fsflags a1, zero
343
	li a2, 0x0
344
	bne a0, a3, fail
345
	bne a1, a2, fail
346
test_6:
347
	li gp, 0x6
348
	la a0, test_6_data
349
	flw ft0, 0(a0)
350
	flw ft1, 4(a0)
351
	flw ft2, 8(a0)
352
	lw a3, 12(a0)
353
	fnmadd.s ft3, ft0, ft1, ft2
354
	fmv.x.s a0, ft3
355
	fsflags a1, zero
356
	li a2, 0x1
357
	bne a0, a3, fail
358
	bne a1, a2, fail
359
test_7:
360
	li gp, 0x7
361
	la a0, test_7_data
362
	flw ft0, 0(a0)
363
	flw ft1, 4(a0)
364
	flw ft2, 8(a0)
365
	lw a3, 12(a0)
366
	fnmadd.s ft3, ft0, ft1, ft2
367
	fmv.x.s a0, ft3
368
	fsflags a1, zero
369
	li a2, 0x0
370
	bne a0, a3, fail
371
	bne a1, a2, fail
372
test_8:
373
	li gp, 0x8
374
	la a0, test_8_data
375
	flw ft0, 0(a0)
376
	flw ft1, 4(a0)
377
	flw ft2, 8(a0)
378
	lw a3, 12(a0)
379
	fmsub.s ft3, ft0, ft1, ft2
380
	fmv.x.s a0, ft3
381
	fsflags a1, zero
382
	li a2, 0x0
383
	bne a0, a3, fail
384
	bne a1, a2, fail
385
test_9:
386
	li gp, 0x9
387
	la a0, test_9_data
388
	flw ft0, 0(a0)
389
	flw ft1, 4(a0)
390
	flw ft2, 8(a0)
391
	lw a3, 12(a0)
392
	fmsub.s ft3, ft0, ft1, ft2
393
	fmv.x.s a0, ft3
394
	fsflags a1, zero
395
	li a2, 0x1
396
	bne a0, a3, fail
397
	bne a1, a2, fail
398
test_10:
399
	li gp, 0xa
400
	la a0, test_10_data
401
	flw ft0, 0(a0)
402
	flw ft1, 4(a0)
403
	flw ft2, 8(a0)
404
	lw a3, 12(a0)
405
	fmsub.s ft3, ft0, ft1, ft2
406
	fmv.x.s a0, ft3
407
	fsflags a1, zero
408
	li a2, 0x0
409
	bne a0, a3, fail
410
	bne a1, a2, fail
411
test_11:
412
	li gp, 0xb
413
	la a0, test_11_data
414
	flw ft0, 0(a0)
415
	flw ft1, 4(a0)
416
	flw ft2, 8(a0)
417
	lw a3, 12(a0)
418
	fnmsub.s ft3, ft0, ft1, ft2
419
	fmv.x.s a0, ft3
420
	fsflags a1, zero
421
	li a2, 0x0
422
	bne a0, a3, fail
423
	bne a1, a2, fail
424
test_12:
425
	li gp, 0xc
426
	la a0, test_12_data
427
	flw ft0, 0(a0)
428
	flw ft1, 4(a0)
429
	flw ft2, 8(a0)
430
	lw a3, 12(a0)
431
	fnmsub.s ft3, ft0, ft1, ft2
432
	fmv.x.s a0, ft3
433
	fsflags a1, zero
434
	li a2, 0x1
435
	bne a0, a3, fail
436
	bne a1, a2, fail
437
test_13:
438
	li gp, 0xd
439
	la a0, test_13_data
440
	flw ft0, 0(a0)
441
	flw ft1, 4(a0)
442
	flw ft2, 8(a0)
443
	lw a3, 12(a0)
444
	fnmsub.s ft3, ft0, ft1, ft2
445
	fmv.x.s a0, ft3
446
	fsflags a1, zero
447
	li a2, 0x0
448
	bne a0, a3, fail
449
	bne a1, a2, fail
450

    
451
------------------------------- Allocating code --------------------------------
452

    
453
Section: .section .text.init [pa=0x0000000080000000, va=0x0000000080000000]
454

    
455

    
456
------------------------ Ended Processing Main Section -------------------------
457

    
458

    
459
------------- Running Execution from Prologue (riscv_test.rb:231) --------------
460

    
461

    
462
---------------------------------- Instance 0 ----------------------------------
463

    
464
Execution status: 0x0000000080000000
465

    
466
.align 6
467
.weak stvec_handler
468
.weak mtvec_handler
469
_start:
470
0x0000000080000000 j reset_vector
471
Jump to 0x000000008000004c
472
reset_vector:
473
0x000000008000004c csrr a0, mhartid
474
1:
475
0x0000000080000050 bnez a0, 1b
476
0x0000000080000054 la t0, 1f
477
0x000000008000005c csrw mtvec, t0
478
0x0000000080000060 csrwi satp, 0x0
479
.align 2
480
1:
481
0x0000000080000064 la t0, 1f
482
0x000000008000006c csrw mtvec, t0
483
0x0000000080000070 li t0, 0xffffffffffffffff
484
0x0000000080000074 csrw pmpaddr0, t0
485
0x0000000080000078 li t0, 0x1f
486
0x000000008000007c csrw pmpcfg0, t0
487
.align 2
488
1:
489
0x0000000080000080 la t0, 1f
490
0x0000000080000088 csrw mtvec, t0
491
0x000000008000008c csrwi medeleg, 0x0
492
0x0000000080000090 csrwi mideleg, 0x0
493
0x0000000080000094 csrwi mie, 0x0
494
.align 2
495
1:
496
0x0000000080000098 li gp, 0x0
497
0x000000008000009c la t0, trap_vector
498
0x00000000800000a4 csrw mtvec, t0
499
0x00000000800000a8 li a0, 0x1
500
0x00000000800000ac slli a0, a0, 0x1f
501
0x00000000800000b0 bgez a0, 1f
502
Jump to 0x00000000800000c0
503
1:
504
0x00000000800000c0 la t0, stvec_handler
505
0x00000000800000c8 beqz t0, 1f
506
Jump to 0x00000000800000e4
507
1:
508
0x00000000800000e4 csrwi mstatus, 0x0
509
0x00000000800000e8 li a0, 0x2000
510
0x00000000800000f0 csrs mstatus, a0
511
0x00000000800000f4 csrwi fcsr, 0x0
512
0x00000000800000f8 la t0, 1f
513
0x0000000080000100 csrw mepc, t0
514
0x0000000080000104 csrr a0, mhartid
515
0x0000000080000108 mret
516
1:
517
test_2:
518
0x000000008000010c li gp, 0x2
519
0x0000000080000110 la a0, test_2_data
520
0x0000000080000118 flw ft0, 0(a0)
521
0x000000008000011c flw ft1, 4(a0)
522
0x0000000080000120 flw ft2, 8(a0)
523
0x0000000080000124 lw a3, 12(a0)
524
0x0000000080000128 fmadd.s ft3, ft0, ft1, ft2
525
0x000000008000012c fmv.x.s a0, ft3
526
0x0000000080000130 fsflags a1, zero
527
0x0000000080000134 li a2, 0x0
528
Reference to undefined label fail:
529
Check: a0(0x0000000040600000) == a3(0x0000000040600000)
530
0x0000000080000138 bne a0, a3, fail
531
Call is not executed. Simulation is paused until the label is allocated.
532

    
533
--------------- Constructed Epilogue (riscv_test_macros.rb:870) ----------------
534

    
535
	bne zero, gp, pass
536
fail:
537
	fence
538
1:
539
	beqz gp, 1b
540
	sll gp, gp, ra
541
	or gp, gp, ra
542
	ecall
543
pass:
544
	fence
545
	li gp, 0x1
546
	ecall
547
	unimp
548

    
549
------------------------------- Allocating code --------------------------------
550

    
551
Section: .section .text.init [pa=0x0000000080000000, va=0x0000000080000000]
552

    
553

    
554
---------- Running Execution from Epilogue (riscv_test_macros.rb:870) ----------
555

    
556

    
557
---------------------------------- Instance 0 ----------------------------------
558

    
559
Execution status: 0x0000000080000138 (waiting for label fail)
560

    
561
Check: a0(0x0000000040600000) == a3(0x0000000040600000)
562
0x0000000080000138 bne a0, a3, fail
563
Check: a1(0x0000000000000000) == a2(0x0000000000000000)
564
0x000000008000013c bne a1, a2, fail
565
test_3:
566
0x0000000080000140 li gp, 0x3
567
0x0000000080000144 la a0, test_3_data
568
0x000000008000014c flw ft0, 0(a0)
569
0x0000000080000150 flw ft1, 4(a0)
570
0x0000000080000154 flw ft2, 8(a0)
571
0x0000000080000158 lw a3, 12(a0)
572
0x000000008000015c fmadd.s ft3, ft0, ft1, ft2
573
0x0000000080000160 fmv.x.s a0, ft3
574
0x0000000080000164 fsflags a1, zero
575
0x0000000080000168 li a2, 0x1
576
Check: a0(0x00000000449a8666) == a3(0x00000000449a8666)
577
0x000000008000016c bne a0, a3, fail
578
Check: a1(0x0000000000000001) == a2(0x0000000000000001)
579
0x0000000080000170 bne a1, a2, fail
580
test_4:
581
0x0000000080000174 li gp, 0x4
582
0x0000000080000178 la a0, test_4_data
583
0x0000000080000180 flw ft0, 0(a0)
584
0x0000000080000184 flw ft1, 4(a0)
585
0x0000000080000188 flw ft2, 8(a0)
586
0x000000008000018c lw a3, 12(a0)
587
0x0000000080000190 fmadd.s ft3, ft0, ft1, ft2
588
0x0000000080000194 fmv.x.s a0, ft3
589
0x0000000080000198 fsflags a1, zero
590
0x000000008000019c li a2, 0x0
591
Check: a0(0xffffffffc1400000) == a3(0xffffffffc1400000)
592
0x00000000800001a0 bne a0, a3, fail
593
Check: a1(0x0000000000000000) == a2(0x0000000000000000)
594
0x00000000800001a4 bne a1, a2, fail
595
test_5:
596
0x00000000800001a8 li gp, 0x5
597
0x00000000800001ac la a0, test_5_data
598
0x00000000800001b4 flw ft0, 0(a0)
599
0x00000000800001b8 flw ft1, 4(a0)
600
0x00000000800001bc flw ft2, 8(a0)
601
0x00000000800001c0 lw a3, 12(a0)
602
0x00000000800001c4 fnmadd.s ft3, ft0, ft1, ft2
603
0x00000000800001c8 fmv.x.s a0, ft3
604
0x00000000800001cc fsflags a1, zero
605
0x00000000800001d0 li a2, 0x0
606
Check: a0(0xffffffffc0600000) == a3(0xffffffffc0600000)
607
0x00000000800001d4 bne a0, a3, fail
608
Check: a1(0x0000000000000000) == a2(0x0000000000000000)
609
0x00000000800001d8 bne a1, a2, fail
610
test_6:
611
0x00000000800001dc li gp, 0x6
612
0x00000000800001e0 la a0, test_6_data
613
0x00000000800001e8 flw ft0, 0(a0)
614
0x00000000800001ec flw ft1, 4(a0)
615
0x00000000800001f0 flw ft2, 8(a0)
616
0x00000000800001f4 lw a3, 12(a0)
617
0x00000000800001f8 fnmadd.s ft3, ft0, ft1, ft2
618
0x00000000800001fc fmv.x.s a0, ft3
619
0x0000000080000200 fsflags a1, zero
620
0x0000000080000204 li a2, 0x1
621
Check: a0(0xffffffffc49a8666) == a3(0xffffffffc49a8666)
622
0x0000000080000208 bne a0, a3, fail
623
Check: a1(0x0000000000000001) == a2(0x0000000000000001)
624
0x000000008000020c bne a1, a2, fail
625
test_7:
626
0x0000000080000210 li gp, 0x7
627
0x0000000080000214 la a0, test_7_data
628
0x000000008000021c flw ft0, 0(a0)
629
0x0000000080000220 flw ft1, 4(a0)
630
0x0000000080000224 flw ft2, 8(a0)
631
0x0000000080000228 lw a3, 12(a0)
632
0x000000008000022c fnmadd.s ft3, ft0, ft1, ft2
633
0x0000000080000230 fmv.x.s a0, ft3
634
0x0000000080000234 fsflags a1, zero
635
0x0000000080000238 li a2, 0x0
636
Check: a0(0x0000000041400000) == a3(0x0000000041400000)
637
0x000000008000023c bne a0, a3, fail
638
Check: a1(0x0000000000000000) == a2(0x0000000000000000)
639
0x0000000080000240 bne a1, a2, fail
640
test_8:
641
0x0000000080000244 li gp, 0x8
642
0x0000000080000248 la a0, test_8_data
643
0x0000000080000250 flw ft0, 0(a0)
644
0x0000000080000254 flw ft1, 4(a0)
645
0x0000000080000258 flw ft2, 8(a0)
646
0x000000008000025c lw a3, 12(a0)
647
0x0000000080000260 fmsub.s ft3, ft0, ft1, ft2
648
0x0000000080000264 fmv.x.s a0, ft3
649
0x0000000080000268 fsflags a1, zero
650
0x000000008000026c li a2, 0x0
651
Check: a0(0x000000003fc00000) == a3(0x000000003fc00000)
652
0x0000000080000270 bne a0, a3, fail
653
Check: a1(0x0000000000000000) == a2(0x0000000000000000)
654
0x0000000080000274 bne a1, a2, fail
655
test_9:
656
0x0000000080000278 li gp, 0x9
657
0x000000008000027c la a0, test_9_data
658
0x0000000080000284 flw ft0, 0(a0)
659
0x0000000080000288 flw ft1, 4(a0)
660
0x000000008000028c flw ft2, 8(a0)
661
0x0000000080000290 lw a3, 12(a0)
662
0x0000000080000294 fmsub.s ft3, ft0, ft1, ft2
663
0x0000000080000298 fmv.x.s a0, ft3
664
0x000000008000029c fsflags a1, zero
665
0x00000000800002a0 li a2, 0x1
666
Check: a0(0x00000000449a4000) == a3(0x00000000000004d2)
667
0x00000000800002a4 bne a0, a3, fail
668
Jump to 0x0000000080000380
669
Error: Test failed (self check did not pass)!
670
fail:
671
0x0000000080000380 fence
672
1:
673
0x0000000080000384 beqz gp, 1b
674
0x0000000080000388 sll gp, gp, ra
675
0x000000008000038c or gp, gp, ra
676
0x0000000080000390 ecall
677
pass:
678
0x0000000080000394 fence
679
0x0000000080000398 li gp, 0x1
680
0x000000008000039c ecall
681
0x00000000800003a0 unimp
682
Allocated entries: []
683

    
684
--------------------- Printing test program to madd_0000.s ---------------------
685

    
686

    
687
-------------------------- Ended Processing Template ---------------------------
688

    
689

    
690
-------------- Printing linker script to isa_tests/rv64uf/madd.ld --------------
691

    
692
Generation Statistics
693
Generation time: 0.530 seconds
694
Generation rate: 400 instructions/second
695
Programs/stimuli/instructions: 1/0/212
    (1-1/1)