1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
4 /* Check that we can perform this in a single INS without doing any DUPs. */
9 foo (float16x8_t a
, float16x8_t b
)
11 return vsetq_lane_f16 (vgetq_lane_f16 (b
, 2), a
, 3);
15 bar (float16x4_t a
, float16x4_t b
)
17 return vset_lane_f16 (vget_lane_f16 (b
, 2), a
, 3);
20 /* { dg-final { scan-assembler-times "ins\\t" 2 } } */
21 /* { dg-final { scan-assembler-not "dup\\t" } } */