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.target/] [mips/] [call-saved-1.c] - Blame information for rev 321

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 321 jeremybenn
/* Check that we save all call-saved GPRs in a MIPS16 __builtin_eh_return
2
   function.  */
3
/* { dg-options "(-mips16) isa_rev=0" } */
4
 
5
void bar (void);
6
 
7
MIPS16 void
8
foo (int x)
9
{
10
  __builtin_unwind_init ();
11
  __builtin_eh_return (x, bar);
12
}
13
/* { dg-final { scan-assembler "\\\$16" } } */
14
/* { dg-final { scan-assembler "\\\$17" } } */
15
/* { dg-final { scan-assembler "\\\$18" } } */
16
/* { dg-final { scan-assembler "\\\$19" } } */
17
/* { dg-final { scan-assembler "\\\$20" } } */
18
/* { dg-final { scan-assembler "\\\$21" } } */
19
/* { dg-final { scan-assembler "\\\$22" } } */
20
/* { dg-final { scan-assembler "\\\$23" } } */
21
/* { dg-final { scan-assembler "\\\$(30|fp)" } } */

powered by: WebSVN 2.1.0

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