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

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

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

revision 1382, Mon Mar 22 22:36:25 2004 UTC revision 1790, Tue Aug 19 09:06:48 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.7 2004-03-22 22:36:24 edgomez Exp $  ; * $Id: sad_xmm.asm,v 1.11 2008-08-19 09:06:48 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                    %else
36                  global _%1                  global _%1
37                  %define %1 _%1                  %define %1 _%1
38                    %endif
39            %else
40                    %ifdef MARK_FUNCS
41                            global %1:function %1.endfunc-%1
42          %else          %else
43                  global %1                  global %1
44          %endif          %endif
45            %endif
46  %endmacro  %endmacro
47    
48  ;=============================================================================  ;=============================================================================
# Line 41  Line 50 
50  ;=============================================================================  ;=============================================================================
51    
52  %ifdef FORMAT_COFF  %ifdef FORMAT_COFF
53  SECTION .rodata data  SECTION .rodata
54  %else  %else
55  SECTION .rodata data align=16  SECTION .rodata align=16
56  %endif  %endif
57    
58  ALIGN 16  ALIGN 16
# Line 180  Line 189 
189    paddusw mm6,mm5    paddusw mm6,mm5
190    movd eax, mm6    movd eax, mm6
191    ret    ret
192    .endfunc
193    
194    
195  ;-----------------------------------------------------------------------------  ;-----------------------------------------------------------------------------
# Line 220  Line 230 
230    movd eax, mm6    movd eax, mm6
231    
232    ret    ret
233    .endfunc
234    
235    
236  ;-----------------------------------------------------------------------------  ;-----------------------------------------------------------------------------
# Line 264  Line 275 
275    movd eax, mm6    movd eax, mm6
276    pop ebx    pop ebx
277    ret    ret
278    .endfunc
279    
280  ;-----------------------------------------------------------------------------  ;-----------------------------------------------------------------------------
281  ;  ;
# Line 294  Line 306 
306    movd eax, mm6    movd eax, mm6
307    pop ebx    pop ebx
308    ret    ret
309    .endfunc
310    
311    
312  ;-----------------------------------------------------------------------------  ;-----------------------------------------------------------------------------
# Line 374  Line 387 
387    
388    movd eax, mm6    movd eax, mm6
389    ret    ret
390    .endfunc
391    
392  ;-----------------------------------------------------------------------------  ;-----------------------------------------------------------------------------
393  ;int sad16v_xmm(const uint8_t * const cur,  ;int sad16v_xmm(const uint8_t * const cur,
# Line 428  Line 442 
442    movd eax, mm7    movd eax, mm7
443    pop ebx    pop ebx
444    ret    ret
445    .endfunc
446    
447    
448    %ifidn __OUTPUT_FORMAT__,elf
449    section ".note.GNU-stack" noalloc noexec nowrite progbits
450    %endif
451    

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

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