1. 07 Aug, 2019 2 commits
    • Paul E. Murphy's avatar
      fast_math: selectively use GCC rounding builtins when available · 3f92bcc1
      Paul E. Murphy authored
      Add a new macro definition OPENCV_USE_FASTMATH_GCC_BUILTINS to enable
      usage of GCC inline math functions, if available and requested by the
      user.
      
      Likewise, enable it for POWER. This is nearly always a substantial
      improvement over using integer manipulation as most operations can
      be done in several instructions with no branching. The result is a
      1.5-1.8x speedup in the ceil/floor operations.
      
      1. As tested with AT 12.0-1 (GCC 8.3.1) compiler on P9 LE.
      3f92bcc1
    • Paul E. Murphy's avatar
      fast_math: add extra perf/unit tests · b2135be5
      Paul E. Murphy authored
      Add a basic sanity test to verify the rounding functions
      work as expected.
      
      Likewise, extend the rounding performance test to cover the
      additional float -> int fast math functions.
      b2135be5
  2. 25 Jul, 2019 8 commits
  3. 24 Jul, 2019 2 commits
  4. 21 Jul, 2019 2 commits
  5. 20 Jul, 2019 2 commits
  6. 19 Jul, 2019 5 commits
  7. 18 Jul, 2019 5 commits
  8. 17 Jul, 2019 1 commit
  9. 16 Jul, 2019 5 commits
  10. 15 Jul, 2019 1 commit
  11. 12 Jul, 2019 5 commits
  12. 11 Jul, 2019 2 commits