Skip to content
Snippets Groups Projects
  1. Apr 17, 2025
    • Sandor Vegh's avatar
      Arm: Speed up -1..1 soft clipping with Neon · a41a344a
      Sandor Vegh authored and Jean-Marc Valin's avatar Jean-Marc Valin committed
      
      If the signal exceeds -1..1 then, as error handling, the soft_clip
      function forces the signal back into -1..1. This is problematic since
      the search loop to find the next sample exceeding -1..1 is slow.
      If cheap on the current platform, while doing -2..2 hardclipping we
      can also detect if the signal never exceeds -1..1, avoiding the need
      for a second search loop.
      
      Signed-off-by: default avatarJean-Marc Valin <jeanmarcv@google.com>
      a41a344a
  2. Apr 16, 2025
  3. Apr 08, 2025
  4. Apr 07, 2025
  5. Mar 29, 2025
  6. Mar 28, 2025
  7. Mar 26, 2025
    • Jean-Marc Valin's avatar
      Forgot one wraparound to ignore · 1c370855
      Jean-Marc Valin authored
      1c370855
    • Jean-Marc Valin's avatar
      Do not run valgrind on -ffast-math builds · e6dd7a3d
      Jean-Marc Valin authored
      valgrind does not properly handle the Denormals-Are-Zero (DAZ) flag,
      which can be set by -ffast-math. That would not generally be a problem
      except when the compiler implements sqrt(x) as x*rsqrt(x) with an
      exception for x=0. In that case, when x is a non-zero denorm value,
      the exception does not trigger with valgrind (but does on real
      hardware), which causes the sqrt to evaluate to -inf instead of 0.
      e6dd7a3d
  8. Mar 24, 2025
  9. Mar 21, 2025
  10. Mar 18, 2025
  11. Mar 17, 2025
  12. Mar 14, 2025
  13. Mar 05, 2025
  14. Mar 03, 2025
  15. Feb 28, 2025
  16. Feb 13, 2025
Loading