aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/powerpc/direct-move-vint2.c
blob: 0d8264faf7186150e28878a39760ec65f8393f35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { 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 vector int
#define DO_MAIN
#define VSX_REG_ATTR "wa"

#include "direct-move.h"