Skip to content
Snippets Groups Projects
  1. Aug 31, 2022
  2. Jul 19, 2022
  3. Apr 27, 2022
  4. Apr 20, 2022
  5. Dec 17, 2021
  6. Oct 29, 2021
  7. Sep 01, 2021
    • Peter Maydell's avatar
      softfloat: Remove assertion preventing silencing of NaN in default-NaN mode · 2c8cb588
      Peter Maydell authored
      
      In commit a777d603 we added an assertion to parts_silence_nan() that
      prohibits calling float*_silence_nan() when in default-NaN mode.
      This ties together a property of the output ("do we generate a default
      NaN when the result is a NaN?") with an operation on an input ("silence
      this input NaN").
      
      It's true that most of the time when in default-NaN mode you won't
      need to silence an input NaN, because you can just produce the
      default NaN as the result instead.  But some functions like
      float*_maxnum() are defined to be able to work with quiet NaNs, so
      silencing an input SNaN is still reasonable.  In particular, the
      upcoming implementation of MVE VMAXNMV would fall over this assertion
      if we didn't delete it.
      
      Delete the assertion.
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
      2c8cb588
  8. Jun 16, 2021
  9. Jun 14, 2021
  10. Jun 11, 2021
  11. Jun 03, 2021
Loading