OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [vector-align-1.c] - Rev 774

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.