[Libre-soc-bugs] [Bug 258] Finish implementing support for Power in simple-soft-float

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Fri May 6 23:49:28 BST 2022


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

--- Comment #5 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #4)
> (In reply to Jacob Lifshay from comment #3)
> > So you know, simple-soft-float's StatusFlags is getting lots of new flags
> > and some of the existing flags will become aliases for groups of flags,
> > where writing will write to all flags in the group and reading will get the
> > logical OR of all flags in the group.
> > 
> > Some of the new flags won't be persistent -- they will be overwritten by
> > every operation -- unlike the standard flags which all stay at 1 (unless
> > explicitly cleared).
> 
> ok appreciated.  the next step will be writing as close a drop-in replacement
> for sfpy as we can get.  once sfpy is replaced as a dependency we can add
> new flags etc.  if those are in one place (a test helper routine / class)
> that minimises disruption and makes it easy to add features to ssf.

imho copying sfpy's api shouldn't be a goal, because it has a lot of issues
having to do with requiring status flags and rounding modes and formats be
global state. changing the test code to switch to ssf's api should be pretty
easy and not too huge an amount of work afaict.

I can also try to change ssf's python packaging to be based on setuptools
rather than maturin -- iirc maturin has been a problem before.
https://github.com/PyO3/setuptools-rust

we will want to also add trig/exp/log functions to ssf.

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


More information about the libre-soc-bugs mailing list