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

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

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

revision 1.3.2.1, Tue Oct 28 22:23:03 2003 UTC revision 1.9, Tue Nov 11 20:46:24 2008 UTC
# Line 32  Line 32 
32    
33  %macro cglobal 1  %macro cglobal 1
34          %ifdef PREFIX          %ifdef PREFIX
35                    %ifdef MARK_FUNCS
36                            global _%1:function %1.endfunc-%1
37                            %define %1 _%1:function %1.endfunc-%1
38                            %define ENDFUNC .endfunc
39                    %else
40                  global _%1                  global _%1
41                  %define %1 _%1                  %define %1 _%1
42                            %define ENDFUNC
43                    %endif
44            %else
45                    %ifdef MARK_FUNCS
46                            global %1:function %1.endfunc-%1
47                            %define ENDFUNC .endfunc
48          %else          %else
49                  global %1                  global %1
50                            %define ENDFUNC
51                    %endif
52          %endif          %endif
53  %endmacro  %endmacro
54    
# Line 63  Line 76 
76  ; Data (Read Only)  ; Data (Read Only)
77  ;=============================================================================  ;=============================================================================
78    
79    %ifdef FORMAT_COFF
80  SECTION .rodata  SECTION .rodata
81    %else
82    SECTION .rodata align=16
83    %endif
84    
85  ALIGN 16  ALIGN 16
86  ignore_dc:  ignore_dc:
# Line 93  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
146    
147    
148    %ifidn __OUTPUT_FORMAT__,elf
149    section ".note.GNU-stack" noalloc noexec nowrite progbits
150    %endif
151    

Legend:
Removed from v.1.3.2.1  
changed lines
  Added in v.1.9

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