2018-03-15 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / get_lane_f16_1.c
blob77f161e9fdbc3f107c71a0559549001699183367
2 /* { dg-do compile } */
3 /* { dg-options "-O3" } */
5 void fn2 ();
7 typedef __Float16x4_t float16x4_t;
8 __fp16 result_float16x4[1];
9 float16x4_t exec_vst1_lane_vector_float16x4, exec_vst1_lane___trans_tmp_1;
11 void fn1 ()
13 exec_vst1_lane_vector_float16x4 = exec_vst1_lane___trans_tmp_1;
14 __fp16 *__a = result_float16x4;
15 float16x4_t __b = exec_vst1_lane___trans_tmp_1;
16 int __lane = 0;
17 *__a = ({ __b[__lane]; });
18 union {
19 short i;
20 __fp16 f;
21 } tmp_res;
22 tmp_res.f = result_float16x4[0];
23 if (tmp_res.i)
24 fn2();