[svn] / branches / release-0_9_1-fixes / xvidcore / src / portab.h Repository:
ViewVC logotype

Diff of /branches/release-0_9_1-fixes/xvidcore/src/portab.h

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

revision 515, Sun Sep 22 17:08:17 2002 UTC revision 516, Sun Sep 22 17:25:13 2002 UTC
# Line 28  Line 28 
28   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
29   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
30   *   *
31   * $Id: portab.h,v 1.28 2002-09-22 16:59:57 edgomez Exp $   * $Id: portab.h,v 1.29 2002-09-22 17:25:13 edgomez Exp $
32   *   *
33   ****************************************************************************/   ****************************************************************************/
34    
# 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.515  
changed lines
  Added in v.516

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