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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.target/] [arm/] [ivopts-2.c] - Blame information for rev 764

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

Line No. Rev Author Line
1 691 jeremybenn
/* { dg-do assemble } */
2
/* { dg-options "-Os -fdump-tree-ivopts -save-temps" } */
3
 
4
extern void foo2 (short*);
5
 
6
void
7
tr4 (short array[], int n)
8
{
9
  int x;
10
  if (n > 0)
11
    for (x = 0; x < n; x++)
12
      foo2 (&array[x]);
13
}
14
 
15
/* { dg-final { scan-tree-dump-times "PHI <ivtmp" 1 "ivopts"} } */
16
/* { dg-final { scan-tree-dump-times "PHI <" 1 "ivopts"} } */
17
/* { dg-final { object-size text <= 26 { target arm_thumb2 } } } */
18
/* { dg-final { cleanup-tree-dump "ivopts" } } */
19
/* { dg-final { cleanup-saved-temps "ivopts" } } */

powered by: WebSVN 2.1.0

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