diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/interrupt-27.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/interrupt-27.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/interrupt-27.c b/gcc/testsuite/gcc.target/i386/interrupt-27.c new file mode 100644 index 00000000000..774bb4b1108 --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/interrupt-27.c @@ -0,0 +1,16 @@ +/* { dg-do compile } */ +/* { dg-options "-O0 -g -mno-avx -mno-iamcu -msse" } */ + +typedef float __v4sf __attribute__ ((__vector_size__ (16))); +__v4sf x, y; + +void +__attribute__((interrupt)) +fn (void *frame) +{ + x = y; +} + +/* { dg-final { scan-assembler-times "movups\[\\t \]*%xmm0,\[\\t \]*-?\[0-9\]*\\(%\[re\]?bp\\)" 1 } } */ +/* { dg-final { scan-assembler-times "movups\[\\t \]*-?\[0-9\]*\\(%\[re\]?bp\\),\[\\t \]*%xmm0" 1 } } */ +/* { dg-final { scan-assembler "iret" } }*/ |