Ejemplo n.º 1
0
void test_vcvt_nf32_u32 (void)
{
  float32x2_t out_float32x2_t;
  uint32x2_t arg0_uint32x2_t;

  out_float32x2_t = vcvt_n_f32_u32 (arg0_uint32x2_t, 1);
}
Ejemplo n.º 2
0
// Check immediate range for vcvt_n intrinsics is 1 to 32.  Radar 9558930.
float32x2_t test3(uint32x2_t x) {
  // FIXME: The "incompatible result type" error is due to pr10112 and should be
  // removed when that is fixed.
  return vcvt_n_f32_u32(x, 0); // expected-error {{argument should be a value from 1 to 32}} expected-error {{incompatible result type}}
}