[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / direct-move-long1.c
blob931f1e917546e30f61709028c6422ede4bda83d7
1 /* { dg-do compile { target lp64 } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } } */
3 /* { dg-require-effective-target powerpc_vsx_ok } */
4 /* { dg-options "-mdejagnu-cpu=power8 -mvsx -O2" } */
5 /* { dg-final { scan-assembler "mtvsrd" } } */
6 /* { dg-final { scan-assembler "mfvsrd" } } */
8 /* Check code generation for direct move for long types. */
10 #define TYPE long
11 #define IS_INT 1
12 #define NO_ALTIVEC 1
13 #define VSX_REG_ATTR "d"
15 #include "direct-move.h"