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_lanedi (long long *y
)
11 #if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
21 construct_lanedf (double *y
)
24 #if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
33 /* Check that creating V2DI and V2DF vectors from a lane with a zero
34 makes use of the D-reg LDR rather than doing explicit lane inserts. */
36 /* { dg-final { scan-assembler-times "ldr\td\[0-9\]+" 2 } } */
37 /* { dg-final { scan-assembler-not "ins\t" } } */