[Libre-soc-bugs] [Bug 1028] implement integer-versions of fft/dct "butterfly" instructions in ISACaller Simulator

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Jul 19 17:35:28 BST 2023


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

--- Comment #8 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Jacob Lifshay from comment #7)
> (In reply to Konstantinos Margaritis (markos) from comment #5)
> > Latest commit fixes the XLEN != 64 cases.
> > 
> > https://git.libre-soc.org/?p=openpower-isa.git;a=commit;
> > h=189a461f1c86d21a6813ed8df892c0cf0b6d8acb
> 
> yay! looks good for XLEN<64
> 
> you should be able to delete both XLEN=64 branches and just keep the else
> blocks, since then the whole function is independent of how many bits all
> the values have. this will make the XLEN=64 case not drop bits -- e.g. right
> now the XLEN=64 case will return the wrong result for SH=31 with RT=2^32,
> RA=0, and RB=2^32 (essentially fixed-point 2.0 * 2.0 for 33.31 fixed-point
> format) whereas afaict the else block would return the correct result, if
> only you used it for XLEN=64 too.

if this breaks test cases, the test cases may just be incorrect.

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


More information about the libre-soc-bugs mailing list