summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/interrupt-xmm.c
blob: 6ffdd969a937bb5356f5cc1b6ae3634f588943a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do compile } */
/* { dg-options "-O2 -mno-avx -mno-iamcu -msse" } */

void
__attribute__((interrupt))
fn (void *frame)
{
  asm ("#"
       :
       :
       : "xmm3");
}

/* { dg-final { scan-assembler-times "movups\[\\t \]*%xmm3,\[\\t \]*-?\[0-9\]*\\(%\[re\]?sp\\)" 1 } } */
/* { dg-final { scan-assembler-times "movups\[\\t \]*-?\[0-9\]*\\(%\[re\]?sp\\),\[\\t \]*%xmm3" 1 } } */
/* { dg-final { scan-assembler "iret" } }*/