[Libre-soc-bugs] [Bug 1247] fminmax/fminmax.: pseudocode clarification needed

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Jan 7 23:23:25 GMT 2024


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

Jacob Lifshay <programmerjake at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |programmerjake at gmail.com

--- Comment #2 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Dmitry Selyutin from comment #1)
> In order to clarify. I assume this pseudocode should have been used (note
> the absence of parentheses):
> 
>     if (FPSCR.VE = 0) | ¬any_snan then FRT <- result

that looks like a typo to me, feel free to fix it, do fix it at the same time
in the wiki too since we're trying to keep those in-sync (don't just copy the
whole pseudocode block, there are some intentional differences iirc):
https://git.libre-soc.org/?p=libreriscv.git;a=blob;f=openpower/sv/rfc/ls013.mdwn;h=6c3b0eb444c7ce902e6853b41221d05ff7aa4c61;hb=6a352d8538954c57a5af7d6bdf703747abbbb776#l216

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


More information about the libre-soc-bugs mailing list