1 /* { dg-do compile { target { powerpc*-*-* && lp64 } } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } } */
3 /* { dg-require-effective-target powerpc_vsx_ok } */
4 /* { dg-options "-O3 -mdejagnu-cpu=power8 -mvsx" } */
5 /* { dg-final { scan-assembler "mfvsrd" } } */
6 /* { dg-final { scan-assembler-not "stfd" } } */
7 /* { dg-final { scan-assembler-not "stxvd2x" } } */
17 long get_value (vector
long v
) { return vec_extract (v
, OFFSET
); }