1 /* { dg-do compile { target { powerpc*-*-linux* && lp64 } } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
3 /* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */
4 /* { dg-require-effective-target powerpc_p8vector_ok } */
5 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */
6 /* { dg-options "-mcpu=power8 -O2" } */
7 /* { dg-final { scan-assembler "mtvsrd" } } */
8 /* { dg-final { scan-assembler "mfvsrd" } } */
10 /* Check code generation for direct move for double types. */
15 #define VSX_REG_ATTR "ws"
17 #include "direct-move.h"