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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [tree-prof/] [val-prof-7.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 -mtune=core2" } */
2
/* { dg-skip-if "" { ! { i?86-*-* x86_64-*-* } } { "*" } { "" } } */
3
 
4
extern void bzero (void *, __SIZE_TYPE__);
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-ipa-dump "Single value 8 stringop transformation on bzero" "profile" } } */
26
/* { dg-final-use { cleanup-ipa-dump "profile" } } */

powered by: WebSVN 2.1.0

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