[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.28, Sun Sep 22 16:59:57 2002 UTC revision 1.29, Sun Sep 22 17:25:13 2002 UTC
# Line 227  Line 227 
227  #    endif /* _DEBUG */  #    endif /* _DEBUG */
228    
229    
230  #    ifdef _DEBUG  
231  #        define DECLARE_ALIGNED_MATRIX(name,sizex,sizey,type,alignment) \  #        define DECLARE_ALIGNED_MATRIX(name,sizex,sizey,type,alignment) \
232                  type name##_storage[(sizex)*(sizey)+(alignment)-1]; \                  type name##_storage[(sizex)*(sizey)+(alignment)-1]; \
233                  type * name = (type *) (((ptr_t) name##_storage+(alignment - 1)) & ~((ptr_t)(alignment)-1))                  type * name = (type *) (((ptr_t) name##_storage+(alignment - 1)) & ~((ptr_t)(alignment)-1))
 #    else  
 #        define DECLARE_ALIGNED_MATRIX(name,sizex,sizey,type,alignment) \  
                 __attribute__ ((__aligned__(CACHE_LINE))) type name[(sizex)*(sizey)]  
 #    endif  
234    
235  /*----------------------------------------------------------------------------  /*----------------------------------------------------------------------------
236   | gcc x86 specific macros/functions   | gcc x86 specific macros/functions

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

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