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

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

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

revision 1382, Mon Mar 22 22:36:25 2004 UTC revision 1540, Sun Aug 29 10:02:38 2004 UTC
# Line 20  Line 20 
20  ; *  along with this program; if not, write to the Free Software  ; *  along with this program; if not, write to the Free Software
21  ; *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA  ; *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
22  ; *  ; *
23  ; * $Id: sad_sse2.asm,v 1.9 2004-03-22 22:36:24 edgomez Exp $  ; * $Id: sad_sse2.asm,v 1.12 2004-08-29 10:02:38 edgomez Exp $
24  ; *  ; *
25  ; ***************************************************************************/  ; ***************************************************************************/
26    
# Line 28  Line 28 
28    
29  %macro cglobal 1  %macro cglobal 1
30          %ifdef PREFIX          %ifdef PREFIX
31                    %ifdef MARK_FUNCS
32                            global _%1:function %1.endfunc-%1
33                            %define %1 _%1:function %1.endfunc-%1
34                    %else
35                  global _%1                  global _%1
36                  %define %1 _%1                  %define %1 _%1
37                    %endif
38            %else
39                    %ifdef MARK_FUNCS
40                            global %1:function %1.endfunc-%1
41          %else          %else
42                  global %1                  global %1
43          %endif          %endif
44            %endif
45  %endmacro  %endmacro
46    
47  ;=============================================================================  ;=============================================================================
# Line 40  Line 49 
49  ;=============================================================================  ;=============================================================================
50    
51  %ifdef FORMAT_COFF  %ifdef FORMAT_COFF
52  SECTION .rodata data  SECTION .rodata
53  %else  %else
54  SECTION .rodata data align=16  SECTION .rodata align=16
55  %endif  %endif
56    
57  ALIGN 64  ALIGN 64
# Line 99  Line 108 
108    paddusw xmm6, xmm5    paddusw xmm6, xmm5
109    pextrw  eax, xmm6, 0    pextrw  eax, xmm6, 0
110    ret    ret
111    .endfunc
112    
113    
114  ;-----------------------------------------------------------------------------  ;-----------------------------------------------------------------------------
# Line 158  Line 168 
168    paddusw  xmm7, xmm6    paddusw  xmm7, xmm6
169    pextrw eax, xmm7, 0    pextrw eax, xmm7, 0
170    ret    ret
171    .endfunc
172    

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

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