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/] [gcc.dg/] [tree-prof/] [val-prof-7.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-options "-O2 -fdump-tree-tree_profile -mtune=core2" } */
2
/* { dg-skip-if "" { ! { i?86-*-* x86_64-*-* } } { "*" } { "" } } */
3
 
4
#include <strings.h>
5
 
6
int foo(int len)
7
{
8
  char array[1000];
9
  bzero(array, len);
10
  return 0;
11
}
12
 
13
int main() {
14
  int i;
15
  for (i = 0; i < 1000; i++)
16
    {
17
      if (i > 990)
18
        foo(16);
19
      else
20
        foo(8);
21
    }
22
  return 0;
23
}
24
 
25
/* { dg-final-use { scan-tree-dump "Single value 8 stringop transformation on bzero" "tree_profile"} } */
26
/* { dg-final-use { cleanup-tree-dump "tree_profile" } } */

powered by: WebSVN 2.1.0

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