[cvs] / xvidcore / src / portab.h Repository:
ViewVC logotype

Diff of /xvidcore/src/portab.h

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

revision 1.29, Sun Sep 22 17:25:13 2002 UTC revision 1.31, Sun Sep 22 18:17:32 2002 UTC
# Line 166  Line 166 
166   | msvc x86 specific macros/functions   | msvc x86 specific macros/functions
167   *---------------------------------------------------------------------------*/   *---------------------------------------------------------------------------*/
168  #    if defined(ARCH_X86)  #    if defined(ARCH_X86)
169  #        define BSWAP(a)  #        define BSWAP(a) __asm mov eax,a __asm bswap eax __asm mov a, eax
              __asm { \  
                  mov eax,a \  
                  bswap eax \  
                  mov a, eax \  
              }  
170  #        define EMMS() __asm {emms}  #        define EMMS() __asm {emms}
171    
172               static __inline int64_t read_counter(void)               static __inline int64_t read_counter(void)
# Line 300  Line 295 
295   *---------------------------------------------------------------------------*/   *---------------------------------------------------------------------------*/
296  #    elif defined(ARCH_SPARC)  #    elif defined(ARCH_SPARC)
297  #        define BSWAP(a) \  #        define BSWAP(a) \
298                  ((a) = (((a) & 0xff) << 24)  | (((a) & 0xff00) << 8) |                  ((a) = (((a) & 0xff) << 24)  | (((a) & 0xff00) << 8) | \
299                         (((a) >> 8) & 0xff00) | (((a) >> 24) & 0xff))                         (((a) >> 8) & 0xff00) | (((a) >> 24) & 0xff))
300  #        define EMMS()  #        define EMMS()
301    
# Line 314  Line 309 
309   *---------------------------------------------------------------------------*/   *---------------------------------------------------------------------------*/
310  #    elif defined(ARCH_MIPS)  #    elif defined(ARCH_MIPS)
311  #        define BSWAP(a) \  #        define BSWAP(a) \
312                  ((a) = (((a) & 0xff) << 24)  | (((a) & 0xff00) << 8) |                  ((a) = (((a) & 0xff) << 24)  | (((a) & 0xff00) << 8) | \
313                         (((a) >> 8) & 0xff00) | (((a) >> 24) & 0xff))                         (((a) >> 8) & 0xff00) | (((a) >> 24) & 0xff))
314  #        define EMMS()  #        define EMMS()
315    

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.31

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