1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mgeneral-regs-only -mmmx -mno-cld -mno-iamcu" } */
3 
4 typedef unsigned int uword_t __attribute__ ((mode (__word__)));
5 
6 void
7 __attribute__((interrupt))
fn1(void * frame)8 fn1 (void *frame)
9 { /* { dg-message "MMX/3Dnow instructions aren't allowed in an interrupt service routine" } */
10 }
11 
12 void
13 __attribute__((interrupt))
fn2(void * frame,uword_t error)14 fn2 (void *frame, uword_t error)
15 { /* { dg-message "MMX/3Dnow instructions aren't allowed in an exception service routine" } */
16 }
17