[svn] / branches / release-1_2-branch / xvidcore / src / image / x86_asm / postprocessing_mmx.asm Repository:
ViewVC logotype

Diff of /branches/release-1_2-branch/xvidcore/src/image/x86_asm/postprocessing_mmx.asm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1397, Thu Apr 1 11:11:28 2004 UTC revision 1793, Tue Nov 11 20:46:24 2008 UTC
# Line 19  Line 19 
19  ; *  along with this program; if not, write to the Free Software  ; *  along with this program; if not, write to the Free Software
20  ; *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA  ; *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21  ; *  ; *
22  ; * $Id: postprocessing_mmx.asm,v 1.1 2004-04-01 11:11:28 suxen_drol Exp $  ; * $Id: postprocessing_mmx.asm,v 1.6 2008-11-11 20:46:24 Isibaar Exp $
23  ; *  ; *
24  ; *************************************************************************/  ; *************************************************************************/
25    
# Line 27  Line 27 
27    
28  %macro cglobal 1  %macro cglobal 1
29          %ifdef PREFIX          %ifdef PREFIX
30                    %ifdef MARK_FUNCS
31                            global _%1:function %1.endfunc-%1
32                            %define %1 _%1:function %1.endfunc-%1
33                            %define ENDFUNC .endfunc
34                    %else
35                  global _%1                  global _%1
36                  %define %1 _%1                  %define %1 _%1
37                            %define ENDFUNC
38                    %endif
39            %else
40                    %ifdef MARK_FUNCS
41                            global %1:function %1.endfunc-%1
42                            %define ENDFUNC .endfunc
43          %else          %else
44                  global %1                  global %1
45                            %define ENDFUNC
46                    %endif
47          %endif          %endif
48  %endmacro  %endmacro
49    
# Line 39  Line 52 
52  ;===========================================================================  ;===========================================================================
53    
54  %ifdef FORMAT_COFF  %ifdef FORMAT_COFF
55  SECTION .rodata data  SECTION .rodata
56  %else  %else
57  SECTION .rodata data align=16  SECTION .rodata align=16
58  %endif  %endif
59    
60  mmx_0x80:  mmx_0x80:
# Line 84  Line 97 
97          mov esi, [esp+8+12] ; width          mov esi, [esp+8+12] ; width
98          mov edi, [esp+8+16] ; height          mov edi, [esp+8+16] ; height
99    
100  .yloop  .yloop:
101          xor     eax, eax          xor     eax, eax
102    
103  .xloop  .xloop:
104          movq mm0, [edx + eax]          movq mm0, [edx + eax]
105          movq mm1, [edx + eax + 8]       ; mm0 = [dst]          movq mm1, [edx + eax + 8]       ; mm0 = [dst]
106    
# Line 113  Line 126 
126          pop esi          pop esi
127    
128          ret          ret
129    ENDFUNC
130  ;//////////////////////////////////////////////////////////////////////  ;//////////////////////////////////////////////////////////////////////
131    
132    %ifidn __OUTPUT_FORMAT__,elf
133    section ".note.GNU-stack" noalloc noexec nowrite progbits
134    %endif
135    

Legend:
Removed from v.1397  
changed lines
  Added in v.1793

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4