[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 1519, Sat Jul 24 11:46:08 2004 UTC revision 1790, Tue Aug 19 09:06:48 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: sad_3dne.asm,v 1.4 2004-07-24 11:46:08 edgomez Exp $  ; * $Id: sad_3dne.asm,v 1.8 2008-08-19 09:06:48 Isibaar 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 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    
505    
506    %ifidn __OUTPUT_FORMAT__,elf
507    section ".note.GNU-stack" noalloc noexec nowrite progbits
508    %endif
509    

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

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