예제 #1
0
void test_vld1Q_laneu64 (void)
{
    uint64x2_t out_uint64x2_t;
    uint64x2_t arg1_uint64x2_t;

    out_uint64x2_t = vld1q_lane_u64 (0, arg1_uint64x2_t, 1);
}
예제 #2
0
void t2(uint64_t *src1, uint8_t *src2, uint64x2_t *dst) {
// CHECK: @t2
    uint64x2_t q = vld1q_u64(src1);
// CHECK: call <2 x i64> @llvm.arm.neon.vld1.v2i64.p0i8
    q = vld1q_lane_u64(src2, q, 0);
// CHECK: shufflevector <2 x i64>
// CHECK: call <1 x i64> @llvm.arm.neon.vld1.v1i64.p0i8
// CHECK: shufflevector <1 x i64>
    *dst = q;
// CHECK: store <2 x i64>
}