1. 28 Sep, 2017 1 commit
  2. 29 Jun, 2017 1 commit
  3. 11 Feb, 2017 1 commit
  4. 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
  5. 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
  6. 23 Nov, 2016 1 commit
  7. 07 Apr, 2016 1 commit
  8. 02 Jan, 2016 1 commit
  9. 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
  10. 28 Oct, 2015 1 commit
  11. 15 Oct, 2015 1 commit
  12. 31 May, 2015 1 commit
  13. 27 May, 2015 1 commit
  14. 19 Apr, 2015 2 commits
  15. 27 Mar, 2015 1 commit
  16. 13 Aug, 2014 2 commits
  17. 06 Aug, 2014 4 commits
  18. 05 Aug, 2014 1 commit
  19. 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
  20. 08 Jul, 2014 1 commit
  21. 20 May, 2014 1 commit
  22. 06 Apr, 2014 1 commit
  23. 23 Feb, 2014 2 commits
  24. 22 Feb, 2014 2 commits
  25. 06 Feb, 2014 1 commit
  26. 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
  27. 23 Nov, 2013 1 commit
  28. 26 Oct, 2013 1 commit
  29. 25 Oct, 2013 1 commit
  30. 21 Sep, 2013 1 commit
  31. 28 Aug, 2013 1 commit
  32. 02 Jun, 2013 1 commit