Status update.
After f2i conversion fix, the comparision (eq//le/lt) had become operational
(indirectly fixed :)). No required source update.
The rest buggy tests are multiplication and division.
I have a question relative FPU functionality implemented in OR-1200 (I
haven't found information in available description).
Should OR-1200 FPU support denormalized numbers?
I found the numbers was incorrectly processed in f2i (I fixed it, because it
wasn't difficult). Now I see that the 1st error in multiplier is again due
to denormalized input:
test #584
operand_a: 0x00000001 operand_b: 0x41FFFE20
expected: value: 0x00000020 flags: ...ux
output: value: 0x0007FFF1 flags: ....
Andrey
-----Исходное сообщение-----
From: BAndViG
Sent: Sunday, August 31, 2014 7:37 PM
To: [email protected]
Subject: Re: [OpenRISC] Porting FPU from OpenRISC-1200
tomor1kx-cappuccinopipeline
Status update.
f2i conversion is fixed. Now all testfloat's f2i and i2f tests passes.
The Verilog could be found in
https://github.com/bandvig/mor1kx/tree/withfpu
WBR
Andrey
-----Исходное сообщение-----
From: BAndViG
Sent: Monday, August 25, 2014 10:09 PM
To: [email protected]
Subject: [OpenRISC] Porting FPU from OpenRISC-1200 to
mor1kx-cappuccinopipeline
...
Knowing bugs are.
The "float32 to int32 conversion" fails with "rounding to inf+" mode while
converting 1.0f : the result is 2 (must be 1). Perhaps, the other bugs are
present, but I modified testing routine to stop testing process at the 1st
error.
The multiplier and divisor also generate erroneous results (not totally but
for some particular inputs).
And any comparison test leads to hang up of "testfloat". I tried to simulate
execution of floating point comparison on RTL with a simple program placed
into ROM. The test passed successfully (no pipeline hang up). Has anybody
got an idea how the bug could be found?
...
_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc
_______________________________________________
OpenRISC mailing list
[email protected]
http://lists.openrisc.net/listinfo/openrisc