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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [vect/] [vect-bool-1.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-require-effective-target vect_int } */
3
 
4
_Bool a[1024];
5
_Bool b[1024];
6
_Bool c[1024];
7
void foo (void)
8
{
9
  unsigned i;
10
  for (i = 0; i < 1024; ++i)
11
    a[i] = b[i] | c[i];
12
}
13
 
14
/* { dg-final { scan-tree-dump "vectorized 1 loops" "vect" } } */
15
/* { dg-final { cleanup-tree-dump "vect" } } */

powered by: WebSVN 2.1.0

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