gcc/testsuite/gcc.target/i386/uintr-3.c
raw| 1 | /* { dg-do compile { target { ! ia32 } } } */ |
| 2 | /* { dg-options "-O2 -muintr" } */ |
| 3 | /* { dg-final { scan-assembler "uiret" } } */ |
| 4 | /* { dg-final { scan-assembler "add\[lq]\[ \t]\+\\\$8, %\[er\]sp" } } */ |
| 5 | |
| 6 | #include <x86gprintrin.h> |
| 7 | |
| 8 | typedef unsigned int uword_t __attribute__ ((mode (__word__))); |
| 9 | |
| 10 | void __attribute__ ((target("general-regs-only"), interrupt)) |
| 11 | UINTR_handler (struct __uintr_frame *p, uword_t uirrv) |
| 12 | { |
| 13 | } |