Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- From 31609c7eaee47047f2139fae8685066c4882ddce Mon Sep 17 00:00:00 2001
- From: Christophe Gisquet <christophe.gisquet@gmail.com>
- Date: Mon, 8 Apr 2013 22:34:56 +0200
- Subject: [PATCH 02/10] x264asm: define generic xora and anda
- They are shortnames automatically resolving to the proper xorps/pxor and
- andps/pand.
- ---
- libavutil/x86/x86inc.asm | 8 ++++++++
- 1 file changed, 8 insertions(+)
- diff --git a/libavutil/x86/x86inc.asm b/libavutil/x86/x86inc.asm
- index bc8e4cb..cc1d7f2 100644
- --- a/libavutil/x86/x86inc.asm
- +++ b/libavutil/x86/x86inc.asm
- @@ -746,6 +746,8 @@ SECTION .note.GNU-stack noalloc noexec nowrite progbits
- %define mova movaps
- %define movu movups
- %define movnta movntps
- + %define xora xorps
- + %define anda pand
- %endif
- %if cpuflag(aligned)
- %define movu mova
- @@ -781,6 +783,8 @@ SECTION .note.GNU-stack noalloc noexec nowrite progbits
- %define movu movq
- %define movh movd
- %define movnta movntq
- + %define xora pxor
- + %define anda pand
- %assign %%i 0
- %rep 8
- CAT_XDEFINE m, %%i, mm %+ %%i
- @@ -807,6 +811,8 @@ SECTION .note.GNU-stack noalloc noexec nowrite progbits
- %define movu movdqu
- %define movh movq
- %define movnta movntdq
- + %define xora pxor
- + %define anda pand
- %assign %%i 0
- %rep num_mmregs
- CAT_XDEFINE m, %%i, xmm %+ %%i
- @@ -828,6 +834,8 @@ SECTION .note.GNU-stack noalloc noexec nowrite progbits
- %define movu vmovups
- %undef movh
- %define movnta vmovntps
- + %define xora vxorps
- + %define anda vandps
- %assign %%i 0
- %rep num_mmregs
- CAT_XDEFINE m, %%i, ymm %+ %%i
- --
- 1.8.0.msysgit.0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement