[svn] / trunk / xvidcore / src / image / x86_asm / postprocessing_mmx.asm Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/image/x86_asm/postprocessing_mmx.asm

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

revision 1790, Tue Aug 19 09:06:48 2008 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.5 2008-08-19 09:06:48 Isibaar Exp $  ; * $Id: postprocessing_mmx.asm,v 1.6 2008-11-11 20:46:24 Isibaar Exp $
23  ; *  ; *
24  ; *************************************************************************/  ; *************************************************************************/
25    
# Line 30  Line 30 
30                  %ifdef MARK_FUNCS                  %ifdef MARK_FUNCS
31                          global _%1:function %1.endfunc-%1                          global _%1:function %1.endfunc-%1
32                          %define %1 _%1:function %1.endfunc-%1                          %define %1 _%1:function %1.endfunc-%1
33                            %define ENDFUNC .endfunc
34                  %else                  %else
35                          global _%1                          global _%1
36                          %define %1 _%1                          %define %1 _%1
37                            %define ENDFUNC
38                  %endif                  %endif
39          %else          %else
40                  %ifdef MARK_FUNCS                  %ifdef MARK_FUNCS
41                          global %1:function %1.endfunc-%1                          global %1:function %1.endfunc-%1
42                            %define ENDFUNC .endfunc
43                  %else                  %else
44                          global %1                          global %1
45                            %define ENDFUNC
46                  %endif                  %endif
47          %endif          %endif
48  %endmacro  %endmacro
# Line 93  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 122  Line 126 
126          pop esi          pop esi
127    
128          ret          ret
129  .endfunc  ENDFUNC
130  ;//////////////////////////////////////////////////////////////////////  ;//////////////////////////////////////////////////////////////////////
131    
132  %ifidn __OUTPUT_FORMAT__,elf  %ifidn __OUTPUT_FORMAT__,elf

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

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