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

Diff of /branches/release-1_2-branch/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 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: sad_3dne.asm,v 1.4 2004-07-24 11:46:08 edgomez Exp $  ; * $Id: sad_3dne.asm,v 1.9 2008-11-11 20:46:24 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                            %define ENDFUNC .endfunc
37                    %else
38                  global _%1                  global _%1
39                  %define %1 _%1                  %define %1 _%1
40                            %define ENDFUNC
41                    %endif
42            %else
43                    %ifdef MARK_FUNCS
44                            global %1:function %1.endfunc-%1
45                            %define ENDFUNC .endfunc
46          %else          %else
47                  global %1                  global %1
48                            %define ENDFUNC
49                    %endif
50          %endif          %endif
51  %endmacro  %endmacro
52    
# Line 171  Line 184 
184    movq mm1, [eax+2*ecx+8]    movq mm1, [eax+2*ecx+8]
185    psadbw mm3, mm4    psadbw mm3, mm4
186    
187    movq mm0, [dword eax+edx]    movq mm0, [eax+edx+0]
188    psadbw mm2, mm4    psadbw mm2, mm4
189    add eax, edx    add eax, edx
190    psadbw mm1, mm4    psadbw mm1, mm4
# Line 256  Line 269 
269    add eax, ecx    add eax, ecx
270    
271    ret    ret
272    ENDFUNC
273    
274    
275  ;-----------------------------------------------------------------------------  ;-----------------------------------------------------------------------------
# Line 310  Line 324 
324    movd eax, mm0    movd eax, mm0
325    
326   ret   ret
327    ENDFUNC
328    
329    
330  ;-----------------------------------------------------------------------------  ;-----------------------------------------------------------------------------
# Line 354  Line 369 
369    movd eax, mm6    movd eax, mm6
370    
371    ret    ret
372    ENDFUNC
373    
374  ;-----------------------------------------------------------------------------  ;-----------------------------------------------------------------------------
375  ;  ;
# Line 429  Line 445 
445    movd eax, mm6    movd eax, mm6
446    
447   ret   ret
448    ENDFUNC
449    
450    
451  ;===========================================================================  ;===========================================================================
# Line 487  Line 504 
504    movd eax, mm7    movd eax, mm7
505    
506    ret    ret
507    ENDFUNC
508    
509    
510    %ifidn __OUTPUT_FORMAT__,elf
511    section ".note.GNU-stack" noalloc noexec nowrite progbits
512    %endif
513    

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

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