OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [vector-align-1.c] - Rev 437

Go to most recent revision | Compare with Previous | Blame | View Log

/* Check to make sure the alignment on vectors is not being lost. */
 
/* If some target has a Max alignment less than 128, please create
   a #ifdef around the alignment and add your alignment.  */
#define alignment 128
 
char x __attribute__((aligned(alignment),vector_size(2)));
 
 
int f[__alignof__(x) == alignment?1:-1];
 
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.