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/] [attr-isr-trapa.c] - Blame information for rev 307

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile { target { { sh-*-* sh[1234ble]*-*-* } && nonpic } } } */
2
/* { dg-options "-O" } */
3
extern void foo ();
4
 
5
void
6
(__attribute__ ((trapa_handler)) isr) ()
7
{
8
  foo ();
9
}
10
 
11
/* { dg-final { scan-assembler-times "rte" 1} } */
12
/* No interrupt-specific saves should be needed.  /
13
/* { dg-final { scan-assembler-not "\[^f\]r\[0-7\]\[ \t,\]\[^\n\]*r15" } } */
14
/* { dg-final { scan-assembler-not "@r15\[^\n\]*\[^f\]r\[0-7\]\n" } } */
15
/* { dg-final { scan-assembler-not "\[^f\]r\[8-9\]" } } */
16
/* { dg-final { scan-assembler-not "\[^f\]r1\[,0-3\]" } } */
17
/* { dg-final { scan-assembler-not "macl" } } */

powered by: WebSVN 2.1.0

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