1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 typedef long long v2di
__attribute__ ((vector_size (16)));
5 typedef double v2df
__attribute__ ((vector_size (16)));
8 construct_lane_1 (double *y
, v2df
*z
)
17 construct_lane_2 (long long *y
, v2di
*z
)
19 long long y0
= y
[0] + 1;
20 long long y1
= y
[1] + 2;
25 /* We can use the load_pair_lanes<mode> pattern to vec_concat two DI/DF
26 values from consecutive memory into a 2-element vector by using
29 /* { dg-final { scan-assembler-times "stp\td\[0-9\]+, d\[0-9\]+" 1 { xfail ilp32 } } } */
30 /* { dg-final { scan-assembler-times "stp\tx\[0-9\]+, x\[0-9\]+" 1 { xfail ilp32 } } } */
31 /* { dg-final { scan-assembler-not "ins\t" { xfail ilp32 } } } */