[svn] / trunk / xvidcore / src / motion / x86_asm / sad_3dne.asm Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/motion/x86_asm/sad_3dne.asm

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

revision 1382, Mon Mar 22 22:36:25 2004 UTC revision 1787, Tue Sep 11 12:41:13 2007 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: sad_3dne.asm,v 1.3 2004-03-22 22:36:24 edgomez Exp $  ; * $Id: sad_3dne.asm,v 1.7 2007-09-11 12:41:13 suxen_drol Exp $
23  ; *  ; *
24  ; ***************************************************************************/  ; ***************************************************************************/
25    
# Line 30  Line 30 
30    
31  %macro cglobal 1  %macro cglobal 1
32          %ifdef PREFIX          %ifdef PREFIX
33                    %ifdef MARK_FUNCS
34                            global _%1:function %1.endfunc-%1
35                            %define %1 _%1:function %1.endfunc-%1
36                    %else
37                  global _%1                  global _%1
38                  %define %1 _%1                  %define %1 _%1
39                    %endif
40            %else
41                    %ifdef MARK_FUNCS
42                            global %1:function %1.endfunc-%1
43          %else          %else
44                  global %1                  global %1
45          %endif          %endif
46            %endif
47  %endmacro  %endmacro
48    
49  ;=============================================================================  ;=============================================================================
# Line 42  Line 51 
51  ;=============================================================================  ;=============================================================================
52    
53  %ifdef FORMAT_COFF  %ifdef FORMAT_COFF
54  SECTION .rodata data  SECTION .rodata
55  %else  %else
56  SECTION .rodata data align=16  SECTION .rodata align=16
57  %endif  %endif
58    
59  ALIGN 16  ALIGN 16
# Line 171  Line 180 
180    movq mm1, [eax+2*ecx+8]    movq mm1, [eax+2*ecx+8]
181    psadbw mm3, mm4    psadbw mm3, mm4
182    
183    movq mm0, [dword eax+edx]    movq mm0, [eax+edx+0]
184    psadbw mm2, mm4    psadbw mm2, mm4
185    add eax, edx    add eax, edx
186    psadbw mm1, mm4    psadbw mm1, mm4
# Line 256  Line 265 
265    add eax, ecx    add eax, ecx
266    
267    ret    ret
268    .endfunc
269    
270    
271  ;-----------------------------------------------------------------------------  ;-----------------------------------------------------------------------------
# Line 310  Line 320 
320    movd eax, mm0    movd eax, mm0
321    
322   ret   ret
323    .endfunc
324    
325    
326  ;-----------------------------------------------------------------------------  ;-----------------------------------------------------------------------------
# Line 354  Line 365 
365    movd eax, mm6    movd eax, mm6
366    
367    ret    ret
368    .endfunc
369    
370  ;-----------------------------------------------------------------------------  ;-----------------------------------------------------------------------------
371  ;  ;
# Line 429  Line 441 
441    movd eax, mm6    movd eax, mm6
442    
443   ret   ret
444    .endfunc
445    
446    
447  ;===========================================================================  ;===========================================================================
# Line 487  Line 500 
500    movd eax, mm7    movd eax, mm7
501    
502    ret    ret
503    .endfunc
504    

Legend:
Removed from v.1382  
changed lines
  Added in v.1787

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