[svn] / trunk / xvidcore / src / image / x86_asm / reduced_mmx.asm Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/image/x86_asm/reduced_mmx.asm

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

revision 1519, Sat Jul 24 11:46:08 2004 UTC revision 1540, Sun Aug 29 10:02:38 2004 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: reduced_mmx.asm,v 1.4 2004-07-24 11:46:08 edgomez Exp $  ; * $Id: reduced_mmx.asm,v 1.6 2004-08-29 10:02:38 edgomez 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                    %else
34                  global _%1                  global _%1
35                  %define %1 _%1                  %define %1 _%1
36                    %endif
37            %else
38                    %ifdef MARK_FUNCS
39                            global %1:function %1.endfunc-%1
40          %else          %else
41                  global %1                  global %1
42          %endif          %endif
43            %endif
44  %endmacro  %endmacro
45    
46  ;===========================================================================  ;===========================================================================
# Line 262  Line 271 
271    STORE_1 mm2, mm3    STORE_1 mm2, mm3
272    
273    ret    ret
274    .endfunc
275    
276  ;===========================================================================  ;===========================================================================
277  ;  ;
# Line 456  Line 466 
466    STORE_ADD_1 mm2, mm3    STORE_ADD_1 mm2, mm3
467    
468    ret    ret
469    .endfunc
470    
471  ;===========================================================================  ;===========================================================================
472  ;  ;
# Line 587  Line 598 
598    STORE_1 mm2, mm3    STORE_1 mm2, mm3
599    
600    ret    ret
601    .endfunc
602    
603  ;===========================================================================  ;===========================================================================
604  ;  ;
# Line 695  Line 707 
707    STORE_ADD_1 mm2, mm3    STORE_ADD_1 mm2, mm3
708    
709    ret    ret
710    .endfunc
711    
712    
713  ;===========================================================================  ;===========================================================================
# Line 751  Line 764 
764    pop edi    pop edi
765    pop esi    pop esi
766    ret    ret
767    .endfunc
768    
769    ; mmx is of no use here. Better use plain ASM. Moreover,    ; mmx is of no use here. Better use plain ASM. Moreover,
770    ; this is for the fun of ASM coding, coz' every modern compiler can    ; this is for the fun of ASM coding, coz' every modern compiler can
# Line 790  Line 804 
804    pop edi    pop edi
805    pop esi    pop esi
806    ret    ret
807    .endfunc
808    
809    ; this one's just a little faster than gcc's code. Very little.    ; this one's just a little faster than gcc's code. Very little.
810    
# Line 826  Line 841 
841    pop edi    pop edi
842    pop esi    pop esi
843    ret    ret
844    .endfunc
845    
846  ;//////////////////////////////////////////////////////////////////////  ;//////////////////////////////////////////////////////////////////////
847  ;// 16b downsampling 16x16 -> 8x8  ;// 16b downsampling 16x16 -> 8x8
# Line 915  Line 931 
931    COPY_TWO_LINES_1331 ecx + 6*16 +8    COPY_TWO_LINES_1331 ecx + 6*16 +8
932    
933    ret    ret
934    .endfunc
935    
936  ;===========================================================================  ;===========================================================================
937  ;  ;
# Line 979  Line 996 
996    DIFF_TWO_LINES_1331 ecx + 6*16 +8    DIFF_TWO_LINES_1331 ecx + 6*16 +8
997    
998    ret    ret
999    .endfunc
1000    
1001  ;//////////////////////////////////////////////////////////////////////  ;//////////////////////////////////////////////////////////////////////
1002    

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

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