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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [g++.dg/] [vect/] [pr36648.cc] - Blame information for rev 315

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

Line No. Rev Author Line
1 301 jeremybenn
/* { dg-require-effective-target vect_float } */
2
 
3
struct vector
4
{
5
  vector() : x(0), y(0), z(0) { }
6
  float x,y,z;
7
};
8
 
9
struct Foo
10
{
11
  int dummy;
12
  /* Misaligned access.  */
13
  vector array_of_vectors[4];
14
};
15
 
16
Foo foo;
17
 
18
int main() { }
19
 
20
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { !  vect_no_align } } } } */
21
/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { target { ! vect_no_align } } } } */
22
/* { dg-final { cleanup-tree-dump "vect" } } */
23
 
24
 

powered by: WebSVN 2.1.0

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