[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 08:58:40 BST 2022
    
    
  
https://bugs.libre-soc.org/show_bug.cgi?id=923
--- Comment #1 from Jacob Lifshay <programmerjake at gmail.com> ---
technically there's also x86's maxss operations, they implement the C function:
float f(float a, float b) {
    return a < b ? a : b;
}
specifically if either input is a NaN or if both inputs are equal or if both
inputs are zero of either sign they always return b. They never convert a
signalling NaN to a quiet Nan.
If we also add that, it would fill out the min/max/minmag/maxmag variants to 8,
fitting nicely in a 3-bit mode field. or if we decide we don't want
minmag/maxmag, it would fill out the variants to 4, fitting in a 2-bit mode
field.
-- 
You are receiving this mail because:
You are on the CC list for the bug.
    
    
More information about the Libre-SOC-ISA
mailing list