Beispiel #1
0
void test_vdupQ_lanes64 (void)
{
  int64x2_t out_int64x2_t;
  int64x1_t arg0_int64x1_t;

  out_int64x2_t = vdupq_lane_s64 (arg0_int64x1_t, 0);
}
Beispiel #2
0
int main (void)
{
  int64x2_t out_int64x2_t = {0, 0};
  int64_t arg0_int64_t = (int64_t) 0xdeadbeef;

  out_int64x2_t = vdupq_lane_s64 ((int64x1_t)arg0_int64_t, 0);
  if (vgetq_lane_s64 (out_int64x2_t, 0) != arg0_int64_t)
    abort();
  if (vgetq_lane_s64 (out_int64x2_t, 1) != arg0_int64_t)
    abort();
  return 0;
}
Beispiel #3
0
int64x2_t test_vdupq_lane_s64(int64x1_t v1) {
  // CHECK: test_vdupq_lane_s64
  return vdupq_lane_s64(v1, 0);
  // CHECK: dup {{v[0-9]+}}.2d, {{v[0-9]+}}.d[0]
}
Beispiel #4
0
wrap_vdupq_lane_s64_1 (int64x1_t a)
{
  return vdupq_lane_s64 (a, 1);
}
Beispiel #5
0
wrap_vdupq_lane_s64_0 (int64x1_t a)
{
  return vdupq_lane_s64 (a, 0);
}