1. 24 Dec, 2017 1 commit
  2. 09 Oct, 2017 1 commit
  3. 28 Sep, 2017 1 commit
  4. 29 Jun, 2017 1 commit
  5. 11 Feb, 2017 1 commit
  6. 12 Dec, 2016 1 commit
    • Wan-Teh Chang's avatar
      avutil: fix data race in av_get_cpu_flags() · fed50c43
      Wan-Teh Chang authored
      Make the one-time initialization in av_get_cpu_flags() thread-safe. The
      static variable |cpu_flags| in libavutil/cpu.c is read and written using
      normal load and store operations. These are considered as data races.
      The fix is to use atomic load and store operations.
      
      The fix can be verified by running the libavutil/tests/cpu_init.c test
      program under ThreadSanitizer:
          ./configure --toolchain=clang-tsan
          make libavutil/tests/cpu_init
          libavutil/tests/cpu_init
      
      There should be no warnings from ThreadSanitizer.
      
      Co-author: Dmitry Vyukov of Google, who suggested the data race fix.
      Signed-off-by: 's avatarWan-Teh Chang <wtc@google.com>
      Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
      fed50c43
  7. 08 Dec, 2016 1 commit
    • Wan-Teh Chang's avatar
      avutil: fix data race in av_get_cpu_flags() · 2170017a
      Wan-Teh Chang authored
      Make the one-time initialization in av_get_cpu_flags() thread-safe. The
      static variables |flags|, |cpuflags_mask|, and |checked| in
      libavutil/cpu.c are read and written using normal load and store
      operations. These are considered as data races. The fix is to use atomic
      load and store operations.
      
      Remove the |checked| variable because the invalid value of -1 for
      |flags| can be used to indicate the same condition. Rename |flags| to
      |cpu_flags| and move it to file scope.
      
      The fix can be verified by running the libavutil/tests/cpu_init.c test
      program under ThreadSanitizer:
          ./configure --toolchain=clang-tsan
          make libavutil/tests/cpu_init
          libavutil/tests/cpu_init
      
      There should be no warnings from ThreadSanitizer.
      
      Co-author: Dmitry Vyukov of Google, who suggested the data race fix.
      Signed-off-by: 's avatarWan-Teh Chang <wtc@google.com>
      2170017a
  8. 23 Nov, 2016 1 commit
  9. 07 Apr, 2016 1 commit
  10. 02 Jan, 2016 1 commit
  11. 14 Dec, 2015 1 commit
    • Janne Grunau's avatar
      arm: add a cpu flag for the VFPv2 vector mode · e2710e79
      Janne Grunau authored
      The vector mode was deprecated in ARMv7-A/VFPv3 and various cpu
      implementations do not support it in hardware. Vector mode code will
      depending the OS either be emulated in software or result in an illegal
      instruction on cpus which does not support it. This was not really
      problem in practice since NEON implementations of the same functions are
      preferred. It will however become a problem for checkasm which tests
      every cpu flag separately.
      
      Since this is a cpu feature newer cpu do not support anymore the
      behaviour of this flag differs from the other flags. It can be only
      activated by runtime cpu feature selection.
      e2710e79
  12. 28 Oct, 2015 1 commit
  13. 15 Oct, 2015 1 commit
  14. 31 May, 2015 1 commit
  15. 27 May, 2015 1 commit
  16. 19 Apr, 2015 2 commits
  17. 27 Mar, 2015 1 commit
  18. 13 Aug, 2014 2 commits
  19. 06 Aug, 2014 4 commits
  20. 05 Aug, 2014 1 commit
  21. 03 Aug, 2014 2 commits
    • Janne Grunau's avatar
      cpu-test: test av_cpu_count · caf5ef85
      Janne Grunau authored
      Add CPU count and number threads as informative values for fate.
      caf5ef85
    • Janne Grunau's avatar
      fate: add informative cpu test · 07d8fa58
      Janne Grunau authored
      libavutil/cpu-test prints raw and effective cpu flags to STDERR. Detected
      cpu flags can be useful for debugging fate errors.
      
      No comparison of the result against a expected result since that would
      require fate config specific references.
      07d8fa58
  22. 08 Jul, 2014 1 commit
  23. 20 May, 2014 1 commit
  24. 06 Apr, 2014 1 commit
  25. 23 Feb, 2014 2 commits
  26. 22 Feb, 2014 2 commits
  27. 06 Feb, 2014 1 commit
  28. 15 Jan, 2014 1 commit
    • Janne Grunau's avatar
      aarch64: add cpuflags support for NEON and VFP · b7b17ed6
      Janne Grunau authored
      NEON and VFP are currently mandatory for all ARMv8 profiles. Both are
      handled as extensions as far as cpuflags are concerned. This is
      consistent with handling x86_64 which always has SSE2, but still
      handles it as an extension.
      b7b17ed6
  29. 23 Nov, 2013 1 commit
  30. 26 Oct, 2013 1 commit
  31. 25 Oct, 2013 1 commit
  32. 21 Sep, 2013 1 commit