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

Diff of /trunk/xvidcore/src/motion/x86_asm/sad_3dn.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_3dn.asm,v 1.7 2004-07-24 11:46:08 edgomez Exp $  ; * $Id: sad_3dn.asm,v 1.11 2008-11-11 20:46:24 Isibaar Exp $
23  ; *  ; *
24  ; ***************************************************************************/  ; ***************************************************************************/
25    
# 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 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.1519  
changed lines
  Added in v.1793

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