summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/vect8-ret.c
blob: c2e21068a0f95de9c284872dccd5719c92039f00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile { target ia32 } } */
/* { dg-options "-mmmx" { target i?86-*-solaris2.[89] *-*-vxworks* } } */
/* { dg-options "-mmmx -mvect8-ret-in-mem" } */

#include <mmintrin.h>

__m64
vecret (__m64 vect)
{
  return vect;
}

/* { dg-final { scan-assembler-times "movq" 1 } } */