1 /* { dg-do compile { target { powerpc64*-*-* && lp64 } } } */
2 /* { dg-require-effective-target powerpc_vsx_ok } */
3 /* { dg-options "-mdejagnu-cpu=power9 -mvsx -O2" } */
7 /* PR 78953: mem = vec_extract (V4SI, <n>) failed if the vector was in a
8 traditional FPR register. */
11 foo (vector
int *vp
, int *ip
)
14 __asm__ (" # fpr %x0" : "+d" (v
));
15 ip
[4] = vec_extract (v
, 0);
18 /* { dg-final { scan-assembler {\mxxextractuw\M|\mvextuw[lr]x\M} } } */