[Libre-soc-isa] [Bug 923] we missed some important fp ops
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Thu Sep 8 22:19:14 BST 2022
https://bugs.libre-soc.org/show_bug.cgi?id=923
--- Comment #6 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
hang on...
p181 v3.1 there's notes
if a >= b then x <- y fsub fs,fa,fb
else x <- z fsel fx,fs,fy,fz
so no, we can't add fmaxss or fminss,
they'll get rejected because of the
macro-fusion advice.
the only reason to add fminss/fmaxss/fmin/fmax
would be because updating to IEEE754-2019. which
is probably good enough.
----
https://stackoverflow.com/questions/30618991/simd-minmag-and-maxmag
minmag(a,b) = |a|<|b| ? a : b
maxmag(a,b) = |a|>|b| ? a : b
not seeing anything like this - good idea to add them.
---
fmod
https://codebrowser.dev/glibc/glibc/sysdeps/ieee754/flt-32/e_fmodf.c.html
blerk! that's awful! (i mean, the software). yep, good call.
----
remainder
https://stackoverflow.com/questions/26671975/why-do-we-need-ieee-754-remainder
blerk. i don;t get it. but i can understand other people do :)
----
yep all good here.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Libre-SOC-ISA
mailing list