PR target/80969 - Fix ICE with -mabi=ms -mavx512f, reduce wasted space when realignin...
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / interrupt-mmx-err-1.c
blobcd1367b54a4127ccac0849970fa8daa9fb30546d
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mgeneral-regs-only -mmmx -mno-cld -mno-iamcu" } */
4 typedef unsigned int uword_t __attribute__ ((mode (__word__)));
6 void
7 __attribute__((interrupt))
8 fn1 (void *frame)
9 { /* { dg-message "MMX/3Dnow instructions aren't allowed in interrupt service routine" } */
12 void
13 __attribute__((interrupt))
14 fn2 (void *frame, uword_t error)
15 { /* { dg-message "MMX/3Dnow instructions aren't allowed in exception service routine" } */