blob: d643324afe1e83dcdc30bfe50ec446db9d9ba2b3 (
plain)
1
2
3
4
5
6
7
8
9
10
|
/* { dg-do compile { target { powerpc64*-*-* && lp64 } } } */
/* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power9" } } */
/* { dg-options "-mcpu=power9 -O2" } */
/* { dg-require-effective-target powerpc_p9vector_ok } */
#include <altivec.h>
vector long long foo (long long a) { return (vector long long) { a, a }; }
/* { dg-final { scan-assembler "mtvsrdd" } } */
|