[Libre-soc-bugs] [Bug 448] MUL pipeline unit tests

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Aug 5 22:32:45 BST 2020


https://bugs.libre-soc.org/show_bug.cgi?id=448

--- Comment #30 from Cole Poirier <colepoirier at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #29)
> (In reply to Cole Poirier from comment #27)
> 
> > Done, added a TODO for this.
> 
> good idea
> 
> > In an earlier commit I added a TODO for madd* 3
> > operand isns test.
> 
> we have to implement madd first.

Right, do you want me to do that?

Otherwise, which unit test should I write next? 

This one? "we also need that one where close to overflow is calculated by
selecting an result in advance, divide by a selected RA (in python that is) and
put *that* as RB."

or this one?

"i just realised, mulli needs to be taken out of this "all" unit test and done
separately and specially.
the values need to be in the range that the constant SI can cope with.  that is
-32768 to +32767.
however RA should be all those list of values 0x0000... etc"

or should I try adding some tests from the riscv unit tests?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list