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

Diff of /branches/release-1_2-branch/xvidcore/src/motion/x86_asm/sad_xmm.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 21  Line 21 
21  ; *  along with this program; if not, write to the Free Software  ; *  along with this program; if not, write to the Free Software
22  ; *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA  ; *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
23  ; *  ; *
24  ; * $Id: sad_xmm.asm,v 1.8 2004-07-24 11:46:08 edgomez Exp $  ; * $Id: sad_xmm.asm,v 1.12 2008-11-11 20:46:24 Isibaar Exp $
25  ; *  ; *
26  ; ***************************************************************************/  ; ***************************************************************************/
27    
# Line 29  Line 29 
29    
30  %macro cglobal 1  %macro cglobal 1
31          %ifdef PREFIX          %ifdef PREFIX
32                    %ifdef MARK_FUNCS
33                            global _%1:function %1.endfunc-%1
34                            %define %1 _%1:function %1.endfunc-%1
35                            %define ENDFUNC .endfunc
36                    %else
37                  global _%1                  global _%1
38                  %define %1 _%1                  %define %1 _%1
39                            %define ENDFUNC
40                    %endif
41            %else
42                    %ifdef MARK_FUNCS
43                            global %1:function %1.endfunc-%1
44                            %define ENDFUNC .endfunc
45          %else          %else
46                  global %1                  global %1
47                            %define ENDFUNC
48                    %endif
49          %endif          %endif
50  %endmacro  %endmacro
51    
# Line 180  Line 193 
193    paddusw mm6,mm5    paddusw mm6,mm5
194    movd eax, mm6    movd eax, mm6
195    ret    ret
196    ENDFUNC
197    
198    
199  ;-----------------------------------------------------------------------------  ;-----------------------------------------------------------------------------
# Line 220  Line 234 
234    movd eax, mm6    movd eax, mm6
235    
236    ret    ret
237    ENDFUNC
238    
239    
240  ;-----------------------------------------------------------------------------  ;-----------------------------------------------------------------------------
# Line 264  Line 279 
279    movd eax, mm6    movd eax, mm6
280    pop ebx    pop ebx
281    ret    ret
282    ENDFUNC
283    
284  ;-----------------------------------------------------------------------------  ;-----------------------------------------------------------------------------
285  ;  ;
# Line 284  Line 300 
300    
301    pxor mm5, mm5 ; accum1    pxor mm5, mm5 ; accum1
302    pxor mm6, mm6 ; accum2    pxor mm6, mm6 ; accum2
303  .Loop  .Loop:
304    SADBI_8x8_XMM    SADBI_8x8_XMM
305    SADBI_8x8_XMM    SADBI_8x8_XMM
306    SADBI_8x8_XMM    SADBI_8x8_XMM
# Line 294  Line 310 
310    movd eax, mm6    movd eax, mm6
311    pop ebx    pop ebx
312    ret    ret
313    ENDFUNC
314    
315    
316  ;-----------------------------------------------------------------------------  ;-----------------------------------------------------------------------------
# Line 374  Line 391 
391    
392    movd eax, mm6    movd eax, mm6
393    ret    ret
394    ENDFUNC
395    
396  ;-----------------------------------------------------------------------------  ;-----------------------------------------------------------------------------
397  ;int sad16v_xmm(const uint8_t * const cur,  ;int sad16v_xmm(const uint8_t * const cur,
# Line 428  Line 446 
446    movd eax, mm7    movd eax, mm7
447    pop ebx    pop ebx
448    ret    ret
449    ENDFUNC
450    
451    
452    %ifidn __OUTPUT_FORMAT__,elf
453    section ".note.GNU-stack" noalloc noexec nowrite progbits
454    %endif
455    

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