1 /* { dg-require-effective-target lp64 } */
2 /* { dg-options "-O2 -mdejagnu-cpu=power8" } */
3 
4 typedef struct { double a[2]; } A;
5 A
foo(const A * a)6 foo (const A *a)
7 {
8   return *a;
9 }
10 
11 /* { dg-final { scan-assembler-not {\mmtvsr} } } */
12 /* { dg-final { scan-assembler-times {\mlxvd2x\M} 1 { target { be } } } } */
13 /* { dg-final { scan-assembler-times {\mstxvd2x\M} 1 { target { be } } } } */
14 /* { dg-final { scan-assembler-times {\mlfd\M} 2 { target { le } } } } */
15