aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/vect8-ret.c
blob: 513369d0fa5ce9af30fc4f6133d7ab13da0e42f9 (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.9 *-*-vxworks* } } */
/* { dg-options "-mmmx -mvect8-ret-in-mem" } */

#include <mmintrin.h>

__m64
vecret (__m64 vect)
{
  return vect;
}

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