[Libre-soc-bugs] [Bug 448] MUL pipeline unit tests
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Wed Aug 5 21:31:32 BST 2020
https://bugs.libre-soc.org/show_bug.cgi?id=448
--- Comment #19 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Cole Poirier from comment #18)
> Thanks Luke! What should I do next?
https://git.libre-soc.org/?p=soc.git;a=blob;f=src/soc/fu/mul/test/test_pipe_caller.py;h=3274f012794ffa6af1ee581a316805cdb7004ee6;hb=fb07d936ebbe71a4c1c9d67075b65955d8137dfc#l177
extend that list to include at least
0xffffffff
0x7fffffff
0x80000000
0xfffffffe
0xfffffffd
these are in 32 bit close to the boundaries.
also use that exact same list but this time use it for RA but for RB use a
*random* value.
also it might be worth looking at riscv isa tests to see what values they use.
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list