libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / gimplefe-40.c
blob4e37a7980fc9422f4ede69060f84a671326cfe7c
1 /* { dg-do compile { target { int128 && vect_float } } } */
2 /* { dg-additional-options "-fgimple -Wno-psabi -w" } */
3 /* { dg-additional-options "-maltivec" { target { powerpc*-*-* && powerpc_altivec_ok } } } */
5 typedef float v4sf __attribute__((vector_size(16)));
6 v4sf __GIMPLE (ssa)
7 load (const void * p)
9 __int128 unsigned _3;
10 v4sf _4;
11 v4sf _6;
12 float _5;
14 __BB(2):
15 _3 = __MEM <__int128 unsigned, 8> ((char *)p_2(D));
16 _4 = __VIEW_CONVERT <v4sf>(_3);
17 #if __SIZEOF_FLOAT__ == 4
18 _5 = __BIT_FIELD_REF <float> (_4, 32, 64);
19 #else
20 _5 = 1.0f;
21 #endif
22 _6 = __BIT_INSERT (_4, _5, 0);
23 return _6;