[cvs] / xvidcore / src / motion / x86_asm / sad_3dn.asm Repository:
ViewVC logotype

Diff of /xvidcore/src/motion/x86_asm/sad_3dn.asm

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

revision 1.5.2.2, Mon Nov 3 15:51:50 2003 UTC revision 1.11, Tue Nov 11 20:46:24 2008 UTC
# 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  ALIGN 16  ALIGN 16
# Line 151  Line 164 
164    
165    pxor mm6, mm6 ; accum2    pxor mm6, mm6 ; accum2
166    pxor mm7, mm7    pxor mm7, mm7
167  .Loop  .Loop:
168    SADBI_16x16_3DN    SADBI_16x16_3DN
169    SADBI_16x16_3DN    SADBI_16x16_3DN
170    SADBI_16x16_3DN    SADBI_16x16_3DN
# Line 180  Line 193 
193    pop ebx    pop ebx
194    
195    ret    ret
196    ENDFUNC
197    
198  ;-----------------------------------------------------------------------------  ;-----------------------------------------------------------------------------
199  ;  ;
# Line 200  Line 214 
214    
215    pxor mm6, mm6 ; accum2    pxor mm6, mm6 ; accum2
216    pxor mm7, mm7    pxor mm7, mm7
217  .Loop  .Loop:
218    SADBI_8x8_3DN    SADBI_8x8_3DN
219    SADBI_8x8_3DN    SADBI_8x8_3DN
220    SADBI_8x8_3DN    SADBI_8x8_3DN
# Line 216  Line 230 
230    pop ebx    pop ebx
231    
232    ret    ret
233    ENDFUNC
234    
235    
236    %ifidn __OUTPUT_FORMAT__,elf
237    section ".note.GNU-stack" noalloc noexec nowrite progbits
238    %endif
239    

Legend:
Removed from v.1.5.2.2  
changed lines
  Added in v.1.11

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