[svn] / branches / dev-api-4 / xvidcore / src / bitstream / x86_asm / cbp_mmx.asm Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/src/bitstream/x86_asm/cbp_mmx.asm

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

revision 3, Fri Mar 8 02:46:11 2002 UTC revision 53, Fri Mar 22 04:37:03 2002 UTC
# Line 32  Line 32 
32  ; *  ; *
33  ; *     History:  ; *     History:
34  ; *  ; *
35    ; *     22.03.2002      0.01          ; Min Chen <chenm001@163.com>
36    ; *                                   ; use 386 cpu's 'BTS' to replace 'cbp |= 1 << (edx-1)'
37  ; *     24.11.2001      inital version; (c)2001 peter ross <pross@cs.rmit.edu.au>  ; *     24.11.2001      inital version; (c)2001 peter ross <pross@cs.rmit.edu.au>
38  ; *  ; *
39  ; *************************************************************************/  ; *************************************************************************/
# Line 114  Line 116 
116    
117                                  ; cbp |= 1 << (edx-1)                                  ; cbp |= 1 << (edx-1)
118    
119                                  mov             ecx, edx                                  ; Change by Chenm001 <chenm001@163.com>
120                                  dec             ecx                                  ;mov             ecx, edx
121                                  mov             ebx, 1                                  ;dec             ecx
122                                  shl             ebx, cl                                  ;mov             ebx, 1
123                                  or              eax, ebx                                  ;shl             ebx, cl
124                                    ;or              eax, ebx
125                                    lea             ebx,[edx-1]
126                                    bts             eax,ebx
127    
128  .iterate                dec     edx  .iterate                dec     edx
129                                  jnz             .loop                                  jnz             .loop

Legend:
Removed from v.3  
changed lines
  Added in v.53

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