| OLD | NEW |
| 1 ;***************************************************************************** | 1 ;***************************************************************************** |
| 2 ;* x86inc.asm | 2 ;* x86inc.asm |
| 3 ;***************************************************************************** | 3 ;***************************************************************************** |
| 4 ;* Copyright (C) 2005-2011 x264 project | 4 ;* Copyright (C) 2005-2011 x264 project |
| 5 ;* | 5 ;* |
| 6 ;* Authors: Loren Merritt <lorenm@u.washington.edu> | 6 ;* Authors: Loren Merritt <lorenm@u.washington.edu> |
| 7 ;* Anton Mitrofanov <BugMaster@narod.ru> | 7 ;* Anton Mitrofanov <BugMaster@narod.ru> |
| 8 ;* Jason Garrett-Glaser <darkshikari@gmail.com> | 8 ;* Jason Garrett-Glaser <darkshikari@gmail.com> |
| 9 ;* | 9 ;* |
| 10 ;* Permission to use, copy, modify, and/or distribute this software for any | 10 ;* Permission to use, copy, modify, and/or distribute this software for any |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 ; It also has various other useful features to simplify writing the kind of | 26 ; It also has various other useful features to simplify writing the kind of |
| 27 ; DSP functions that are most often used in x264. | 27 ; DSP functions that are most often used in x264. |
| 28 | 28 |
| 29 ; Unlike the rest of x264, this file is available under an ISC license, as it | 29 ; Unlike the rest of x264, this file is available under an ISC license, as it |
| 30 ; has significant usefulness outside of x264 and we want it to be available | 30 ; has significant usefulness outside of x264 and we want it to be available |
| 31 ; to the largest audience possible. Of course, if you modify it for your own | 31 ; to the largest audience possible. Of course, if you modify it for your own |
| 32 ; purposes to add a new feature, we strongly encourage contributing a patch | 32 ; purposes to add a new feature, we strongly encourage contributing a patch |
| 33 ; as this feature might be useful for others as well. Send patches or ideas | 33 ; as this feature might be useful for others as well. Send patches or ideas |
| 34 ; to x264-devel@videolan.org . | 34 ; to x264-devel@videolan.org . |
| 35 | 35 |
| 36 %ifndef MEDIA_BASE_SIMD_X86INC_ASM_ | 36 %ifndef THIRD_PARTY_X86INC_X86INC_ASM_ |
| 37 %define MEDIA_BASE_SIMD_X86INC_ASM_ | 37 %define THIRD_PARTY_X86INC_X86INC_ASM_ |
| 38 | 38 |
| 39 ; TODO(wolenetz): Consider either updating this customized version to base from | 39 ; TODO(wolenetz): Consider either updating this customized version to base from |
| 40 ; a more recent original, or switching to using third_party/ffmpeg's version of | 40 ; a more recent original, or switching to using third_party/ffmpeg's version of |
| 41 ; this abstraction layer. See http://crbug.com/175029 | 41 ; this abstraction layer. See http://crbug.com/175029 |
| 42 | 42 |
| 43 %define program_name ff | 43 %define program_name ff |
| 44 | 44 |
| 45 %ifdef ARCH_X86_64 | 45 %ifdef ARCH_X86_64 |
| 46 %ifidn __OUTPUT_FORMAT__,win32 | 46 %ifidn __OUTPUT_FORMAT__,win32 |
| 47 %define WIN64 | 47 %define WIN64 |
| (...skipping 944 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 992 ; Copies a general-purpose register to an XMM register, and vice versa. | 992 ; Copies a general-purpose register to an XMM register, and vice versa. |
| 993 ; | 993 ; |
| 994 %macro MOVq 2 | 994 %macro MOVq 2 |
| 995 %if gprsize == 8 | 995 %if gprsize == 8 |
| 996 movq %1, %2 | 996 movq %1, %2 |
| 997 %else | 997 %else |
| 998 movd %1, %2 | 998 movd %1, %2 |
| 999 %endif | 999 %endif |
| 1000 %endmacro | 1000 %endmacro |
| 1001 | 1001 |
| 1002 ; | |
| 1003 ; PRIVATE | |
| 1004 ; A flag representing the specified symbol is a private symbol. This define adds | |
| 1005 ; a hidden flag on Linux and a private_extern flag on Mac. (We can use this | |
| 1006 ; private_extern flag only on the latest yasm.) | |
| 1007 ; | |
| 1008 %ifdef MACHO | |
| 1009 %define PRIVATE :private_extern | |
| 1010 %elifdef ELF | |
| 1011 %define PRIVATE :hidden | |
| 1012 %else | |
| 1013 %define PRIVATE | |
| 1014 %endif | |
| 1015 | |
| 1016 %endif ; CHROMIUM | 1002 %endif ; CHROMIUM |
| 1017 | 1003 |
| 1018 %endif ; MEDIA_BASE_SIMD_X86INC_ASM_ | 1004 %endif ; THIRD_PARTY_X86INC_X86INC_ASM_ |
| OLD | NEW |