1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } } */
3 /* { dg-require-effective-target powerpc_p8vector_ok } */
4 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */
5 /* { dg-options "-mcpu=power8 -O2 -ftree-vectorize -fvect-cost-model=dynamic" } */
17 #define ALIGN_ATTR __attribute__((__aligned__(ALIGN)))
19 long long sign_ll
[SIZE
] ALIGN_ATTR
;
20 int sign_i
[SIZE
] ALIGN_ATTR
;
22 void copy_long_long_to_int (void)
26 for (i
= 0; i
< SIZE
; i
++)
27 sign_i
[i
] = sign_ll
[i
];
30 /* { dg-final { scan-assembler "vpkudum" } } */