Skip to content
Snippets Groups Projects
  1. Jan 05, 2013
  2. Dec 20, 2012
  3. Nov 18, 2012
  4. Nov 16, 2012
  5. Nov 13, 2012
  6. Nov 09, 2012
  7. Oct 31, 2012
  8. Oct 30, 2012
  9. Oct 23, 2012
  10. Oct 15, 2012
    • Mans Rullgard's avatar
      swscale: try to use mmap only if available · 95cd815c
      Mans Rullgard authored
      
      Some systems, e.g. Minix, have sys/mman.h defining MAP_ANONYMOUS without
      providing (working) mmap and friends.  The mmx filter generation code
      checks only for MAP_ANONYMOUS, not for availability of mmap itself which
      leads to build errors on aforementioned systems.
      
      This changes the conditional compilation to use mmap only if all the
      required functions are available.
      
      Signed-off-by: default avatarMans Rullgard <mans@mansr.com>
      95cd815c
  11. Oct 12, 2012
  12. Oct 10, 2012
  13. Oct 08, 2012
  14. Oct 06, 2012
  15. Oct 05, 2012
  16. Sep 13, 2012
  17. Sep 08, 2012
  18. Sep 07, 2012
  19. Sep 04, 2012
  20. Aug 30, 2012
  21. Aug 28, 2012
  22. Aug 19, 2012
  23. Aug 15, 2012
  24. Aug 13, 2012
    • Mans Rullgard's avatar
      x86: swscale: fix fragile memory accesses · 90540c2d
      Mans Rullgard authored
      
      To access data at multiple fixed offsets from a base address, this
      code uses a single "m" operand and code of the form "32%0", relying on
      the memory operand instantiation having no displacement, giving a final
      result of the form "32(%rax)".  If the compiler uses a register and
      displacement, e.g. "64(%rax)", the end result becomes "3264(%rax)",
      which obviously does not work.
      
      Replacing the "m" operands with "r" operands allows safe addition of a
      displacement.  In theory, multiple memory operands could use a shared
      base register with different index registers, "(%rax,%rbx)", potentially
      making more efficient use of registers.  In the cases at hand, no such
      sharing is possible since the addresses involved are entirely unrelated.
      
      After this change, the code somewhat rudely accesses memory without
      using a corresponding memory operand, which in some cases can lead to
      unwanted "optimisations" of surrounding code.  However, the original
      code also accesses memory not covered by a memory operand, so this is
      not adding any defect not already present.  It is also hightly unlikely
      that any such optimisations could be performed here since the memory
      locations in questions are not accessed elsewhere in the same functions.
      
      This fixes crashes with suncc.
      
      Signed-off-by: default avatarMans Rullgard <mans@mansr.com>
      90540c2d
    • Mans Rullgard's avatar
      x86: swscale: remove disabled code · 10b83cb6
      Mans Rullgard authored
      
      This code has been disabled since 2003.  Nobody will ever look at
      it again.
      
      Signed-off-by: default avatarMans Rullgard <mans@mansr.com>
      10b83cb6
  25. Aug 08, 2012
  26. Aug 03, 2012
    • 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
Loading