[Libre-soc-bugs] [Bug 1044] SVP64 implementation of pow(x,y,z)

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Oct 11 06:35:29 BST 2023


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

--- Comment #55 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Jacob Lifshay from comment #53)
subfic {n_scalar}, {n_scalar}, {denom_size}
> 
> if we had reverse gear for data-dependent fail-first, it would be 3
> instructions:
> setvl 0, 0, {denom_size}, 0, 1, 1
> sv.cmpi/ff=ne/mrr *0, 1, *{v}, 0
> setvl {n_scalar}, 0, 1, 0, 0, 0 # getvl {n_scalar}

sorry, too early in the morning. still blinking. let me check the spec.
this is exactly the kind of thing that these research grants are
here to find.

> (I also had to fix the simulator for mtspr SVSHAPE*, which was not keeping
> the SVSHAPE* SPRs as SVSHAPE instances, I changed SPR.__setitem__ to convert
> to SVSHAPE)

awesome.

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


More information about the libre-soc-bugs mailing list