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] - Blame information for rev 749

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

Line No. Rev Author Line
1 688 jeremybenn
/* Check to make sure the alignment on vectors is not being lost. */
2
 
3
/* If some target has a Max alignment less than 128, please create
4
   a #ifdef around the alignment and add your alignment.  */
5
#define alignment 128
6
 
7
char x __attribute__((aligned(alignment),vector_size(2)));
8
 
9
 
10
int f[__alignof__(x) == alignment?1:-1];
11
 

powered by: WebSVN 2.1.0

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