[svn] / trunk / xvidcore / src / bitstream / x86_asm / cbp_sse2.asm Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/bitstream/x86_asm/cbp_sse2.asm

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

revision 1792, Tue Sep 2 12:23:30 2008 UTC revision 1793, Tue Nov 11 20:46:24 2008 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: cbp_sse2.asm,v 1.8 2008-08-19 09:06:48 Isibaar Exp $  ; * $Id: cbp_sse2.asm,v 1.9 2008-11-11 20:46:24 Isibaar Exp $
24  ; *  ; *
25  ; ***************************************************************************/  ; ***************************************************************************/
26    
# Line 35  Line 35 
35                  %ifdef MARK_FUNCS                  %ifdef MARK_FUNCS
36                          global _%1:function %1.endfunc-%1                          global _%1:function %1.endfunc-%1
37                          %define %1 _%1:function %1.endfunc-%1                          %define %1 _%1:function %1.endfunc-%1
38                            %define ENDFUNC .endfunc
39                  %else                  %else
40                          global _%1                          global _%1
41                          %define %1 _%1                          %define %1 _%1
42                            %define ENDFUNC
43                  %endif                  %endif
44          %else          %else
45                  %ifdef MARK_FUNCS                  %ifdef MARK_FUNCS
46                          global %1:function %1.endfunc-%1                          global %1:function %1.endfunc-%1
47                            %define ENDFUNC .endfunc
48                  %else                  %else
49                          global %1                          global %1
50                            %define ENDFUNC
51                  %endif                  %endif
52          %endif          %endif
53  %endmacro  %endmacro
# Line 106  Line 110 
110    jz .blk2    jz .blk2
111    or eax, (1<<5)    or eax, (1<<5)
112    
113  .blk2  .blk2:
114    LOOP_SSE2 1    LOOP_SSE2 1
115    test ecx, ecx    test ecx, ecx
116    jz .blk3    jz .blk3
117    or eax, (1<<4)    or eax, (1<<4)
118    
119  .blk3  .blk3:
120    LOOP_SSE2 2    LOOP_SSE2 2
121    test ecx, ecx    test ecx, ecx
122    jz .blk4    jz .blk4
123    or eax, (1<<3)    or eax, (1<<3)
124    
125  .blk4  .blk4:
126    LOOP_SSE2 3    LOOP_SSE2 3
127    test ecx, ecx    test ecx, ecx
128    jz .blk5    jz .blk5
129    or eax, (1<<2)    or eax, (1<<2)
130    
131  .blk5  .blk5:
132    LOOP_SSE2 4    LOOP_SSE2 4
133    test ecx, ecx    test ecx, ecx
134    jz .blk6    jz .blk6
135    or eax, (1<<1)    or eax, (1<<1)
136    
137  .blk6  .blk6:
138    LOOP_SSE2 5    LOOP_SSE2 5
139    test ecx, ecx    test ecx, ecx
140    jz .finished    jz .finished
141    or eax, (1<<0)    or eax, (1<<0)
142    
143  .finished  .finished:
144          ret          ret
145  .endfunc  ENDFUNC
146    
147    
148  %ifidn __OUTPUT_FORMAT__,elf  %ifidn __OUTPUT_FORMAT__,elf

Legend:
Removed from v.1792  
changed lines
  Added in v.1793

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