summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/interrupt-27.c
blob: 774bb4b11083863f00cd1e34d89973dbb85cbce5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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" } }*/