1. 24 Dec, 2017 1 commit
  2. 11 Feb, 2017 1 commit
  3. 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
  4. 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
  5. 20 Jul, 2016 1 commit
  6. 28 Mar, 2016 1 commit
  7. 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
  8. 28 Oct, 2015 1 commit
  9. 05 Sep, 2015 1 commit
  10. 28 Aug, 2015 1 commit
  11. 31 May, 2015 2 commits
  12. 27 May, 2015 1 commit
  13. 13 Aug, 2014 1 commit
  14. 06 Apr, 2014 1 commit
  15. 23 Feb, 2014 2 commits
  16. 22 Feb, 2014 2 commits
  17. 26 Oct, 2013 1 commit
  18. 25 Oct, 2013 1 commit
  19. 03 Oct, 2013 1 commit
  20. 28 Aug, 2013 1 commit
  21. 24 May, 2013 1 commit
  22. 16 Nov, 2012 1 commit
  23. 01 Oct, 2012 1 commit
  24. 16 Aug, 2012 1 commit
  25. 03 Aug, 2012 1 commit
    • Diego Biurrun's avatar
      x86: build: replace mmx2 by mmxext · 239fdf1b
      Diego Biurrun authored
      Refactoring mmx2/mmxext YASM code with cpuflags will force renames.
      So switching to a consistent naming scheme beforehand is sensible.
      The name "mmxext" is more official and widespread and also the name
      of the CPU flag, as reported e.g. by the Linux kernel.
      239fdf1b
  26. 24 Jun, 2012 1 commit
  27. 23 Jun, 2012 1 commit
  28. 30 Apr, 2012 2 commits
  29. 25 Apr, 2012 1 commit
  30. 22 Apr, 2012 1 commit
  31. 12 Mar, 2012 1 commit
    • Janne Grunau's avatar
      remove iwmmxt optimizations · 363bd1c6
      Janne Grunau authored
      The were broken since August of 2010 without anyone noticing until
      three weeks ago. Nobody cares about it anymore and hopefully Marvell
      will support NEON like in the PXA978 from now on.
      363bd1c6
  32. 07 Mar, 2012 1 commit
  33. 06 Mar, 2012 1 commit
  34. 12 Feb, 2012 1 commit
  35. 26 Sep, 2011 1 commit
  36. 02 Jun, 2011 1 commit