Advertisement
Guest User

Untitled

a guest
Apr 8th, 2013
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. From 31609c7eaee47047f2139fae8685066c4882ddce Mon Sep 17 00:00:00 2001
  2. From: Christophe Gisquet <christophe.gisquet@gmail.com>
  3. Date: Mon, 8 Apr 2013 22:34:56 +0200
  4. Subject: [PATCH 02/10] x264asm: define generic xora and anda
  5.  
  6. They are shortnames automatically resolving to the proper xorps/pxor and
  7. andps/pand.
  8. ---
  9.  libavutil/x86/x86inc.asm | 8 ++++++++
  10.  1 file changed, 8 insertions(+)
  11.  
  12. diff --git a/libavutil/x86/x86inc.asm b/libavutil/x86/x86inc.asm
  13. index bc8e4cb..cc1d7f2 100644
  14. --- a/libavutil/x86/x86inc.asm
  15. +++ b/libavutil/x86/x86inc.asm
  16. @@ -746,6 +746,8 @@ SECTION .note.GNU-stack noalloc noexec nowrite progbits
  17.              %define mova movaps
  18.              %define movu movups
  19.              %define movnta movntps
  20. +            %define xora xorps
  21. +            %define anda pand
  22.          %endif
  23.          %if cpuflag(aligned)
  24.              %define movu mova
  25. @@ -781,6 +783,8 @@ SECTION .note.GNU-stack noalloc noexec nowrite progbits
  26.      %define movu movq
  27.      %define movh movd
  28.      %define movnta movntq
  29. +    %define xora pxor
  30. +    %define anda pand
  31.      %assign %%i 0
  32.      %rep 8
  33.      CAT_XDEFINE m, %%i, mm %+ %%i
  34. @@ -807,6 +811,8 @@ SECTION .note.GNU-stack noalloc noexec nowrite progbits
  35.      %define movu movdqu
  36.      %define movh movq
  37.      %define movnta movntdq
  38. +    %define xora pxor
  39. +    %define anda pand
  40.      %assign %%i 0
  41.      %rep num_mmregs
  42.      CAT_XDEFINE m, %%i, xmm %+ %%i
  43. @@ -828,6 +834,8 @@ SECTION .note.GNU-stack noalloc noexec nowrite progbits
  44.      %define movu vmovups
  45.      %undef movh
  46.      %define movnta vmovntps
  47. +    %define xora vxorps
  48. +    %define anda vandps
  49.      %assign %%i 0
  50.      %rep num_mmregs
  51.      CAT_XDEFINE m, %%i, ymm %+ %%i
  52. --
  53. 1.8.0.msysgit.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement