void test_vextu64 (void) { uint64x1_t out_uint64x1_t; uint64x1_t arg0_uint64x1_t; uint64x1_t arg1_uint64x1_t; out_uint64x1_t = vext_u64 (arg0_uint64x1_t, arg1_uint64x1_t, 0); }
int main (int argc, char **argv) { uint64_t arr1[] = {0}; uint64x1_t in1 = vld1_u64 (arr1); uint64_t arr2[] = {1}; uint64x1_t in2 = vld1_u64 (arr2); uint64x1_t actual = vext_u64 (in1, in2, 0); if (actual != in1) abort (); return 0; }
poly64x1_t test_vext_p64(poly64x1_t a, poly64x1_t b) { // CHECK-LABEL: test_vext_p64 return vext_u64(a, b, 0); }
uint64x1_t test_vext_u64(uint64x1_t a, uint64x1_t b) { // CHECK-LABEL: test_vext_u64 return vext_u64(a, b, 0); }
// CHECK-LABEL: define <1 x i64> @test_vext_u64(<1 x i64> %a, <1 x i64> %b) #0 { // CHECK: [[TMP0:%.*]] = bitcast <1 x i64> %a to <8 x i8> // CHECK: [[TMP1:%.*]] = bitcast <1 x i64> %b to <8 x i8> // CHECK: [[TMP2:%.*]] = bitcast <8 x i8> [[TMP0]] to <1 x i64> // CHECK: [[TMP3:%.*]] = bitcast <8 x i8> [[TMP1]] to <1 x i64> // CHECK: [[VEXT:%.*]] = shufflevector <1 x i64> [[TMP2]], <1 x i64> [[TMP3]], <1 x i32> zeroinitializer // CHECK: ret <1 x i64> [[VEXT]] uint64x1_t test_vext_u64(uint64x1_t a, uint64x1_t b) { return vext_u64(a, b, 0); }