1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-require-effective-target powerpc_vsx_ok } */
3 /* { dg-options "-mdejagnu-cpu=power9 -mvsx" } */
9 fetch_data (unsigned int offset
, vector
signed short *datap
)
11 vector
signed short data
= *datap
;
13 return vec_xlx (offset
, data
);
16 /* { dg-final { scan-assembler "vextuhlx" } } */