[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.4, Wed Mar 20 14:02:48 2002 UTC revision 1.6, Thu Mar 21 17:27:06 2002 UTC
# Line 74  Line 74 
74  #endif  #endif
75    
76  #define CACHE_LINE  16  #define CACHE_LINE  16
77  #define CACHE_ALIGN  #define CACHE_ALIGN __attribute__ ((__aligned__(CACHE_LINE)))
78    
79    
80  #if defined(LINUX)  #if defined(LINUX)
81    
# Line 93  Line 94 
94    
95  #endif  #endif
96    
 #define EMMS() __asm__("emms\n\t")  
97    
98  // needed for bitstream.h  // needed for bitstream.h
99    #ifdef ARCH_PPC
100            #define BSWAP(a) __asm__ ( "lwbrx %0,0,%1; eieio" : "=r" (a) : \
101                    "r" (&(a)), "m" (a));
102            #define EMMS()
103    #else
104  #define BSWAP(a) __asm__ ( "bswapl %0\n" : "=r" (a) : "0" (a) )  #define BSWAP(a) __asm__ ( "bswapl %0\n" : "=r" (a) : "0" (a) )
105            #define EMMS() __asm__("emms\n\t")
106    #endif
107    
108  // needed for timer.c  // needed for timer.c
109  static __inline int64_t read_counter() {  static __inline int64_t read_counter() {

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.6

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