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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tree-prof/] [update-loopch.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-options "-O2 -fdump-ipa-profile-blocks -fdump-tree-optimized-blocks" } */
2
int max = 33333;
3
int a[8];
4
int
5
main ()
6
{
7
  int i;
8
  for (i = 0; i < max; i++)
9
    {
10
      a[i % 8]++;
11
    }
12
  return 0;
13
}
14
/* Loop header copying will peel away the initial conditional, so the loop body
15
   is once reached directly from entry point of function, rest via loopback
16
   edge.  */
17
/* { dg-final-use { scan-ipa-dump "count:33333" "profile"} } */
18
/* { dg-final-use { scan-tree-dump "count:33332" "optimized"} } */
19
/* { dg-final-use { scan-tree-dump-not "Invalid sum" "optimized"} } */
20
/* { dg-final-use { cleanup-ipa-dump "profile" } } */
21
/* { dg-final-use { cleanup-tree-dump "optimized" } } */

powered by: WebSVN 2.1.0

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