Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Side by Side Diff: third_party/x86inc/x86inc.asm

Issue 15151002: Streamline SIMD targets in media.gyp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add Win64 hack. Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/remoting.gyp ('k') | third_party/yasm/yasm_compile.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « remoting/remoting.gyp ('k') | third_party/yasm/yasm_compile.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698