1. 21 Aug, 2019 3 commits
  2. 20 Aug, 2019 2 commits
  3. 19 Aug, 2019 2 commits
  4. 16 Aug, 2019 2 commits
  5. 15 Aug, 2019 2 commits
  6. 14 Aug, 2019 4 commits
  7. 13 Aug, 2019 2 commits
  8. 12 Aug, 2019 1 commit
  9. 09 Aug, 2019 1 commit
  10. 08 Aug, 2019 7 commits
  11. 07 Aug, 2019 4 commits
    • Paul E. Murphy's avatar
      fast_math: implement optimized PPC routines · f38a61c6
      Paul E. Murphy authored
      Implement cvRound using inline asm. No compiler support
      exists today to properly optimize this. This results in
      about a 4x speedup over the default rounding. Likewise,
      simplify the growing number of rounding function overloads.
      
      For P9 enabled targets, utilize the classification
      testing instruction to test for Inf/Nan values. Operation
      speedup is about 1.2x for FP32, and 1.5x for FP64 operands.
      
      For P8 targets, fallback to the GCC nan inline. It provides
      a 1.1/1.4x improvement for FP32/FP64 arguments.
      f38a61c6
    • 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
    • Dmitry Kurtaev's avatar
      Enable some tests for 2019R2 · 6193e403
      Dmitry Kurtaev authored
      6193e403
  12. 06 Aug, 2019 7 commits
  13. 05 Aug, 2019 3 commits