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/] [interrupt_handler.c] - Blame information for rev 321

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 321 jeremybenn
/* Test attributes for interrupt handlers */
2
/* { dg-do assemble } */
3
/* { dg-options "-mips32r2 -msoft-float" } */
4
 
5
void f () { }
6
 
7
NOMIPS16 void __attribute__ ((interrupt)) v0 () { }
8
NOMIPS16 void __attribute__ ((interrupt, use_shadow_register_set)) v1 () { }
9
NOMIPS16 void __attribute__ ((interrupt, keep_interrupts_masked)) v2 () { }
10
NOMIPS16 void __attribute__ ((interrupt, use_debug_exception_return)) v3 () { }
11
NOMIPS16 void __attribute__ ((interrupt, use_shadow_register_set, keep_interrupts_masked)) v4 () { }
12
NOMIPS16 void __attribute__ ((interrupt, use_shadow_register_set, use_debug_exception_return)) v5 () { }
13
NOMIPS16 void __attribute__ ((interrupt, keep_interrupts_masked, use_debug_exception_return)) v6 () { }
14
NOMIPS16 void __attribute__ ((interrupt, use_shadow_register_set, keep_interrupts_masked, use_debug_exception_return)) v7 () { }
15
 
16
NOMIPS16 void __attribute__ ((interrupt)) w0 () { t(); }
17
NOMIPS16 void __attribute__ ((interrupt, use_shadow_register_set)) w1 () { t(); }
18
NOMIPS16 void __attribute__ ((interrupt, keep_interrupts_masked)) w2 () { t(); }
19
NOMIPS16 void __attribute__ ((interrupt, use_debug_exception_return)) w3 () { t(); }
20
NOMIPS16 void __attribute__ ((interrupt, use_shadow_register_set, keep_interrupts_masked)) w4 () { t(); }
21
NOMIPS16 void __attribute__ ((interrupt, use_shadow_register_set, use_debug_exception_return)) w5 () { t(); }
22
NOMIPS16 void __attribute__ ((interrupt, keep_interrupts_masked, use_debug_exception_return)) w6 () { t(); }
23
NOMIPS16 void __attribute__ ((interrupt, use_shadow_register_set, keep_interrupts_masked, use_debug_exception_return)) w7 () { t(); }

powered by: WebSVN 2.1.0

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