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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.target/] [mips/] [call-2.c] - Blame information for rev 826

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 321 jeremybenn
/* See through some simple data-flow.  */
2
/* { dg-options "-O2 -mrelax-pic-calls" } */
3
/* { dg-final { scan-assembler-times "\\.reloc\t1f,R_MIPS_JALR,g\n1:\tjalr\t" 3 } } */
4
 
5
NOMIPS16 f (int i)
6
{
7
  while (i--)
8
    g ();
9
}
10
 
11
NOMIPS16 ff ()
12
{
13
  g ();
14
  g ();
15
  return 1;
16
}

powered by: WebSVN 2.1.0

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