aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/powerpc/direct-move-float2.c
blob: 352e76166d087e410f065c71593f4ad3f904d1e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do run { target { powerpc*-*-linux* && lp64 } } } */
/* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
/* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */
/* { dg-require-effective-target p8vector_hw } */
/* { dg-options "-mcpu=power8 -O2" } */

/* Check whether we get the right bits for direct move at runtime.  */

#define TYPE float
#define IS_FLOAT 1
#define NO_ALTIVEC 1
#define DO_MAIN
#define VSX_REG_ATTR "ww"

#include "direct-move.h"