Debian Codegraph @

gcc/testsuite/gcc.target/i386/uintr-2.c

raw
1 /* { dg-do compile { target { ! ia32 } } } */
2 /* { dg-options "-O2 -muintr -mgeneral-regs-only" } */
3 /* { dg-final { scan-assembler-times "uiret" "2" } } */
4 /* { dg-final { scan-assembler-times "add\[lq]\[ \t]\+\\\$8, %\[er\]sp" "2" } } */
5
6 #include <x86gprintrin.h>
7
8 typedef unsigned int uword_t __attribute__ ((mode (__word__)));
9
10 void
11 __attribute__((interrupt))
12 foo (void *frame, uword_t uirrv)
13 {
14 }
15
16 void
17 __attribute__((interrupt))
18 UINTR_hanlder (struct __uintr_frame *frame, uword_t uirrv)
19 {
20 }