[Libre-soc-isa] [Bug 1092] OPF RFC ISA WG questions feedback on ls002 float-load-immediate

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed May 31 09:21:56 BST 2023


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

Konstantinos Margaritis (markos) <konstantinos at vectorcamp.gr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |konstantinos at vectorcamp.gr

--- Comment #4 from Konstantinos Margaritis (markos) <konstantinos at vectorcamp.gr> ---
> Are you OK with fishmv generating some result which is very different from the input value in this kind of case? (If so, a programming note warning about the possibility is probably appropriate.)

IMHO, the result should not be different from the input value. The idea behind
the two instructions is to be able to load constants in a fast way. As you say
it's a move-type instruction, if the user loads NaN/infinity values then we
have to assume it's on purpose. Any exception should be thrown later, when an
actual operation is involved. For that matter, if there was a unit test using
NaN/infinity inputs for other functions (eg trig/exp/log) involving
fmvis/fishmv to load the constants, I would expect the input values to remain
unchanged.

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


More information about the Libre-SOC-ISA mailing list