1 /* { dg-do compile } */
2 /* { dg-skip-if "Not available for ARCv1" { arc700 || arc6xx } } */
3 /* { dg-options "-O2 -mirq-ctrl-saved=r0-r17,blink" } */
5 /* Check if the registers R0-R17,blink are automatically saved. */
7 void __attribute__ ((interrupt("ilink")))
10 __asm__
volatile ( "" : : : "r13","r14","r15","r16");
12 /* { dg-final { scan-assembler-not "st.*r13,\\\[sp" } } */
13 /* { dg-final { scan-assembler-not "st.*r14,\\\[sp" } } */
14 /* { dg-final { scan-assembler-not "st.*r15,\\\[sp" } } */
15 /* { dg-final { scan-assembler-not "st.*r16,\\\[sp" } } */
16 /* { dg-final { scan-assembler-not "push_s blink" } } */