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

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [pr36493.c] - Blame information for rev 307

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

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-require-effective-target vect_long } */
2
 
3
#include "tree-vect.h"
4
 
5
int
6
main (void)
7
{
8
  int i;
9
  long x[12] __attribute__((aligned(__BIGGEST_ALIGNMENT__)));
10
 
11
  check_vect ();
12
 
13
  x[0] = 1;
14
  for (i = 0; i < 12; i++)
15
    x[i] = i;
16
 
17
  if (x[0] != 0)
18
    abort ();
19
 
20
  return 0;
21
}
22
 
23
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect"  } } */
24
/* { dg-final { cleanup-tree-dump "vect" } } */
25
 

powered by: WebSVN 2.1.0

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