Lines Matching refs:t
274 TCGv_i64 t = tcg_temp_new_i64(); in gen_srshr8_i64() local
276 tcg_gen_shri_i64(t, a, sh - 1); in gen_srshr8_i64()
277 tcg_gen_andi_i64(t, t, dup_const(MO_8, 1)); in gen_srshr8_i64()
279 tcg_gen_vec_add8_i64(d, d, t); in gen_srshr8_i64()
284 TCGv_i64 t = tcg_temp_new_i64(); in gen_srshr16_i64() local
286 tcg_gen_shri_i64(t, a, sh - 1); in gen_srshr16_i64()
287 tcg_gen_andi_i64(t, t, dup_const(MO_16, 1)); in gen_srshr16_i64()
289 tcg_gen_vec_add16_i64(d, d, t); in gen_srshr16_i64()
294 TCGv_i32 t; in gen_srshr32_i32() local
301 t = tcg_temp_new_i32(); in gen_srshr32_i32()
302 tcg_gen_extract_i32(t, a, sh - 1, 1); in gen_srshr32_i32()
304 tcg_gen_add_i32(d, d, t); in gen_srshr32_i32()
309 TCGv_i64 t = tcg_temp_new_i64(); in gen_srshr64_i64() local
311 tcg_gen_extract_i64(t, a, sh - 1, 1); in gen_srshr64_i64()
313 tcg_gen_add_i64(d, d, t); in gen_srshr64_i64()
318 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_srshr_vec() local
321 tcg_gen_shri_vec(vece, t, a, sh - 1); in gen_srshr_vec()
322 tcg_gen_and_vec(vece, t, t, ones); in gen_srshr_vec()
324 tcg_gen_add_vec(vece, d, d, t); in gen_srshr_vec()
376 TCGv_i64 t = tcg_temp_new_i64(); in gen_srsra8_i64() local
378 gen_srshr8_i64(t, a, sh); in gen_srsra8_i64()
379 tcg_gen_vec_add8_i64(d, d, t); in gen_srsra8_i64()
384 TCGv_i64 t = tcg_temp_new_i64(); in gen_srsra16_i64() local
386 gen_srshr16_i64(t, a, sh); in gen_srsra16_i64()
387 tcg_gen_vec_add16_i64(d, d, t); in gen_srsra16_i64()
392 TCGv_i32 t = tcg_temp_new_i32(); in gen_srsra32_i32() local
394 gen_srshr32_i32(t, a, sh); in gen_srsra32_i32()
395 tcg_gen_add_i32(d, d, t); in gen_srsra32_i32()
400 TCGv_i64 t = tcg_temp_new_i64(); in gen_srsra64_i64() local
402 gen_srshr64_i64(t, a, sh); in gen_srsra64_i64()
403 tcg_gen_add_i64(d, d, t); in gen_srsra64_i64()
408 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_srsra_vec() local
410 gen_srshr_vec(vece, t, a, sh); in gen_srsra_vec()
411 tcg_gen_add_vec(vece, d, d, t); in gen_srsra_vec()
468 TCGv_i64 t = tcg_temp_new_i64(); in gen_urshr8_i64() local
470 tcg_gen_shri_i64(t, a, sh - 1); in gen_urshr8_i64()
471 tcg_gen_andi_i64(t, t, dup_const(MO_8, 1)); in gen_urshr8_i64()
473 tcg_gen_vec_add8_i64(d, d, t); in gen_urshr8_i64()
478 TCGv_i64 t = tcg_temp_new_i64(); in gen_urshr16_i64() local
480 tcg_gen_shri_i64(t, a, sh - 1); in gen_urshr16_i64()
481 tcg_gen_andi_i64(t, t, dup_const(MO_16, 1)); in gen_urshr16_i64()
483 tcg_gen_vec_add16_i64(d, d, t); in gen_urshr16_i64()
488 TCGv_i32 t; in gen_urshr32_i32() local
495 t = tcg_temp_new_i32(); in gen_urshr32_i32()
496 tcg_gen_extract_i32(t, a, sh - 1, 1); in gen_urshr32_i32()
498 tcg_gen_add_i32(d, d, t); in gen_urshr32_i32()
503 TCGv_i64 t = tcg_temp_new_i64(); in gen_urshr64_i64() local
505 tcg_gen_extract_i64(t, a, sh - 1, 1); in gen_urshr64_i64()
507 tcg_gen_add_i64(d, d, t); in gen_urshr64_i64()
512 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_urshr_vec() local
515 tcg_gen_shri_vec(vece, t, a, shift - 1); in gen_urshr_vec()
516 tcg_gen_and_vec(vece, t, t, ones); in gen_urshr_vec()
518 tcg_gen_add_vec(vece, d, d, t); in gen_urshr_vec()
569 TCGv_i64 t = tcg_temp_new_i64(); in gen_ursra8_i64() local
572 tcg_gen_vec_shr8i_i64(t, a, 7); in gen_ursra8_i64()
574 gen_urshr8_i64(t, a, sh); in gen_ursra8_i64()
576 tcg_gen_vec_add8_i64(d, d, t); in gen_ursra8_i64()
581 TCGv_i64 t = tcg_temp_new_i64(); in gen_ursra16_i64() local
584 tcg_gen_vec_shr16i_i64(t, a, 15); in gen_ursra16_i64()
586 gen_urshr16_i64(t, a, sh); in gen_ursra16_i64()
588 tcg_gen_vec_add16_i64(d, d, t); in gen_ursra16_i64()
593 TCGv_i32 t = tcg_temp_new_i32(); in gen_ursra32_i32() local
596 tcg_gen_shri_i32(t, a, 31); in gen_ursra32_i32()
598 gen_urshr32_i32(t, a, sh); in gen_ursra32_i32()
600 tcg_gen_add_i32(d, d, t); in gen_ursra32_i32()
605 TCGv_i64 t = tcg_temp_new_i64(); in gen_ursra64_i64() local
608 tcg_gen_shri_i64(t, a, 63); in gen_ursra64_i64()
610 gen_urshr64_i64(t, a, sh); in gen_ursra64_i64()
612 tcg_gen_add_i64(d, d, t); in gen_ursra64_i64()
617 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_ursra_vec() local
620 tcg_gen_shri_vec(vece, t, a, sh - 1); in gen_ursra_vec()
622 gen_urshr_vec(vece, t, a, sh); in gen_ursra_vec()
624 tcg_gen_add_vec(vece, d, d, t); in gen_ursra_vec()
671 TCGv_i64 t = tcg_temp_new_i64(); in gen_shr8_ins_i64() local
673 tcg_gen_shri_i64(t, a, shift); in gen_shr8_ins_i64()
674 tcg_gen_andi_i64(t, t, mask); in gen_shr8_ins_i64()
676 tcg_gen_or_i64(d, d, t); in gen_shr8_ins_i64()
682 TCGv_i64 t = tcg_temp_new_i64(); in gen_shr16_ins_i64() local
684 tcg_gen_shri_i64(t, a, shift); in gen_shr16_ins_i64()
685 tcg_gen_andi_i64(t, t, mask); in gen_shr16_ins_i64()
687 tcg_gen_or_i64(d, d, t); in gen_shr16_ins_i64()
704 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_shr_ins_vec() local
708 tcg_gen_shri_vec(vece, t, a, sh); in gen_shr_ins_vec()
710 tcg_gen_or_vec(vece, d, d, t); in gen_shr_ins_vec()
761 TCGv_i64 t = tcg_temp_new_i64(); in gen_shl8_ins_i64() local
763 tcg_gen_shli_i64(t, a, shift); in gen_shl8_ins_i64()
764 tcg_gen_andi_i64(t, t, mask); in gen_shl8_ins_i64()
766 tcg_gen_or_i64(d, d, t); in gen_shl8_ins_i64()
772 TCGv_i64 t = tcg_temp_new_i64(); in gen_shl16_ins_i64() local
774 tcg_gen_shli_i64(t, a, shift); in gen_shl16_ins_i64()
775 tcg_gen_andi_i64(t, t, mask); in gen_shl16_ins_i64()
777 tcg_gen_or_i64(d, d, t); in gen_shl16_ins_i64()
792 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_shl_ins_vec() local
795 tcg_gen_shli_vec(vece, t, a, sh); in gen_shl_ins_vec()
797 tcg_gen_or_vec(vece, d, d, t); in gen_shl_ins_vec()
1365 TCGv_i64 t = tcg_temp_new_i64(); in gen_uqadd_d() local
1367 tcg_gen_add_i64(t, a, b); in gen_uqadd_d()
1368 tcg_gen_movcond_i64(TCG_COND_LTU, res, t, a, in gen_uqadd_d()
1369 tcg_constant_i64(UINT64_MAX), t); in gen_uqadd_d()
1370 tcg_gen_xor_i64(t, t, res); in gen_uqadd_d()
1371 tcg_gen_or_i64(qc, qc, t); in gen_uqadd_d()
1374 static void gen_uqadd_vec(unsigned vece, TCGv_vec t, TCGv_vec qc, in gen_uqadd_vec() argument
1377 TCGv_vec x = tcg_temp_new_vec_matching(t); in gen_uqadd_vec()
1379 tcg_gen_usadd_vec(vece, t, a, b); in gen_uqadd_vec()
1380 tcg_gen_xor_vec(vece, x, x, t); in gen_uqadd_vec()
1454 static void gen_sqadd_vec(unsigned vece, TCGv_vec t, TCGv_vec qc, in gen_sqadd_vec() argument
1457 TCGv_vec x = tcg_temp_new_vec_matching(t); in gen_sqadd_vec()
1459 tcg_gen_ssadd_vec(vece, t, a, b); in gen_sqadd_vec()
1460 tcg_gen_xor_vec(vece, x, x, t); in gen_sqadd_vec()
1511 TCGv_i64 t = tcg_temp_new_i64(); in gen_uqsub_d() local
1513 tcg_gen_sub_i64(t, a, b); in gen_uqsub_d()
1514 tcg_gen_movcond_i64(TCG_COND_LTU, res, a, b, tcg_constant_i64(0), t); in gen_uqsub_d()
1515 tcg_gen_xor_i64(t, t, res); in gen_uqsub_d()
1516 tcg_gen_or_i64(qc, qc, t); in gen_uqsub_d()
1519 static void gen_uqsub_vec(unsigned vece, TCGv_vec t, TCGv_vec qc, in gen_uqsub_vec() argument
1522 TCGv_vec x = tcg_temp_new_vec_matching(t); in gen_uqsub_vec()
1524 tcg_gen_ussub_vec(vece, t, a, b); in gen_uqsub_vec()
1525 tcg_gen_xor_vec(vece, x, x, t); in gen_uqsub_vec()
1599 static void gen_sqsub_vec(unsigned vece, TCGv_vec t, TCGv_vec qc, in gen_sqsub_vec() argument
1602 TCGv_vec x = tcg_temp_new_vec_matching(t); in gen_sqsub_vec()
1604 tcg_gen_sssub_vec(vece, t, a, b); in gen_sqsub_vec()
1605 tcg_gen_xor_vec(vece, x, x, t); in gen_sqsub_vec()
1646 TCGv_i32 t = tcg_temp_new_i32(); in gen_sabd_i32() local
1648 tcg_gen_sub_i32(t, a, b); in gen_sabd_i32()
1650 tcg_gen_movcond_i32(TCG_COND_LT, d, a, b, d, t); in gen_sabd_i32()
1655 TCGv_i64 t = tcg_temp_new_i64(); in gen_sabd_i64() local
1657 tcg_gen_sub_i64(t, a, b); in gen_sabd_i64()
1659 tcg_gen_movcond_i64(TCG_COND_LT, d, a, b, d, t); in gen_sabd_i64()
1664 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_sabd_vec() local
1666 tcg_gen_smin_vec(vece, t, a, b); in gen_sabd_vec()
1668 tcg_gen_sub_vec(vece, d, d, t); in gen_sabd_vec()
1703 TCGv_i32 t = tcg_temp_new_i32(); in gen_uabd_i32() local
1705 tcg_gen_sub_i32(t, a, b); in gen_uabd_i32()
1707 tcg_gen_movcond_i32(TCG_COND_LTU, d, a, b, d, t); in gen_uabd_i32()
1712 TCGv_i64 t = tcg_temp_new_i64(); in gen_uabd_i64() local
1714 tcg_gen_sub_i64(t, a, b); in gen_uabd_i64()
1716 tcg_gen_movcond_i64(TCG_COND_LTU, d, a, b, d, t); in gen_uabd_i64()
1721 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_uabd_vec() local
1723 tcg_gen_umin_vec(vece, t, a, b); in gen_uabd_vec()
1725 tcg_gen_sub_vec(vece, d, d, t); in gen_uabd_vec()
1760 TCGv_i32 t = tcg_temp_new_i32(); in gen_saba_i32() local
1761 gen_sabd_i32(t, a, b); in gen_saba_i32()
1762 tcg_gen_add_i32(d, d, t); in gen_saba_i32()
1767 TCGv_i64 t = tcg_temp_new_i64(); in gen_saba_i64() local
1768 gen_sabd_i64(t, a, b); in gen_saba_i64()
1769 tcg_gen_add_i64(d, d, t); in gen_saba_i64()
1774 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_saba_vec() local
1775 gen_sabd_vec(vece, t, a, b); in gen_saba_vec()
1776 tcg_gen_add_vec(vece, d, d, t); in gen_saba_vec()
1816 TCGv_i32 t = tcg_temp_new_i32(); in gen_uaba_i32() local
1817 gen_uabd_i32(t, a, b); in gen_uaba_i32()
1818 tcg_gen_add_i32(d, d, t); in gen_uaba_i32()
1823 TCGv_i64 t = tcg_temp_new_i64(); in gen_uaba_i64() local
1824 gen_uabd_i64(t, a, b); in gen_uaba_i64()
1825 tcg_gen_add_i64(d, d, t); in gen_uaba_i64()
1830 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_uaba_vec() local
1831 gen_uabd_vec(vece, t, a, b); in gen_uaba_vec()
1832 tcg_gen_add_vec(vece, d, d, t); in gen_uaba_vec()
1932 TCGv_i64 t = tcg_temp_new_i64(); in gen_shadd8_i64() local
1934 tcg_gen_and_i64(t, a, b); in gen_shadd8_i64()
1937 tcg_gen_andi_i64(t, t, dup_const(MO_8, 1)); in gen_shadd8_i64()
1939 tcg_gen_vec_add8_i64(d, d, t); in gen_shadd8_i64()
1944 TCGv_i64 t = tcg_temp_new_i64(); in gen_shadd16_i64() local
1946 tcg_gen_and_i64(t, a, b); in gen_shadd16_i64()
1949 tcg_gen_andi_i64(t, t, dup_const(MO_16, 1)); in gen_shadd16_i64()
1951 tcg_gen_vec_add16_i64(d, d, t); in gen_shadd16_i64()
1956 TCGv_i32 t = tcg_temp_new_i32(); in gen_shadd_i32() local
1958 tcg_gen_and_i32(t, a, b); in gen_shadd_i32()
1961 tcg_gen_andi_i32(t, t, 1); in gen_shadd_i32()
1963 tcg_gen_add_i32(d, d, t); in gen_shadd_i32()
1968 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_shadd_vec() local
1970 tcg_gen_and_vec(vece, t, a, b); in gen_shadd_vec()
1973 tcg_gen_and_vec(vece, t, t, tcg_constant_vec_matching(d, vece, 1)); in gen_shadd_vec()
1975 tcg_gen_add_vec(vece, d, d, t); in gen_shadd_vec()
2004 TCGv_i64 t = tcg_temp_new_i64(); in gen_uhadd8_i64() local
2006 tcg_gen_and_i64(t, a, b); in gen_uhadd8_i64()
2009 tcg_gen_andi_i64(t, t, dup_const(MO_8, 1)); in gen_uhadd8_i64()
2011 tcg_gen_vec_add8_i64(d, d, t); in gen_uhadd8_i64()
2016 TCGv_i64 t = tcg_temp_new_i64(); in gen_uhadd16_i64() local
2018 tcg_gen_and_i64(t, a, b); in gen_uhadd16_i64()
2021 tcg_gen_andi_i64(t, t, dup_const(MO_16, 1)); in gen_uhadd16_i64()
2023 tcg_gen_vec_add16_i64(d, d, t); in gen_uhadd16_i64()
2028 TCGv_i32 t = tcg_temp_new_i32(); in gen_uhadd_i32() local
2030 tcg_gen_and_i32(t, a, b); in gen_uhadd_i32()
2033 tcg_gen_andi_i32(t, t, 1); in gen_uhadd_i32()
2035 tcg_gen_add_i32(d, d, t); in gen_uhadd_i32()
2040 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_uhadd_vec() local
2042 tcg_gen_and_vec(vece, t, a, b); in gen_uhadd_vec()
2045 tcg_gen_and_vec(vece, t, t, tcg_constant_vec_matching(d, vece, 1)); in gen_uhadd_vec()
2047 tcg_gen_add_vec(vece, d, d, t); in gen_uhadd_vec()
2076 TCGv_i64 t = tcg_temp_new_i64(); in gen_shsub8_i64() local
2078 tcg_gen_andc_i64(t, b, a); in gen_shsub8_i64()
2081 tcg_gen_andi_i64(t, t, dup_const(MO_8, 1)); in gen_shsub8_i64()
2083 tcg_gen_vec_sub8_i64(d, d, t); in gen_shsub8_i64()
2088 TCGv_i64 t = tcg_temp_new_i64(); in gen_shsub16_i64() local
2090 tcg_gen_andc_i64(t, b, a); in gen_shsub16_i64()
2093 tcg_gen_andi_i64(t, t, dup_const(MO_16, 1)); in gen_shsub16_i64()
2095 tcg_gen_vec_sub16_i64(d, d, t); in gen_shsub16_i64()
2100 TCGv_i32 t = tcg_temp_new_i32(); in gen_shsub_i32() local
2102 tcg_gen_andc_i32(t, b, a); in gen_shsub_i32()
2105 tcg_gen_andi_i32(t, t, 1); in gen_shsub_i32()
2107 tcg_gen_sub_i32(d, d, t); in gen_shsub_i32()
2112 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_shsub_vec() local
2114 tcg_gen_andc_vec(vece, t, b, a); in gen_shsub_vec()
2117 tcg_gen_and_vec(vece, t, t, tcg_constant_vec_matching(d, vece, 1)); in gen_shsub_vec()
2119 tcg_gen_sub_vec(vece, d, d, t); in gen_shsub_vec()
2148 TCGv_i64 t = tcg_temp_new_i64(); in gen_uhsub8_i64() local
2150 tcg_gen_andc_i64(t, b, a); in gen_uhsub8_i64()
2153 tcg_gen_andi_i64(t, t, dup_const(MO_8, 1)); in gen_uhsub8_i64()
2155 tcg_gen_vec_sub8_i64(d, d, t); in gen_uhsub8_i64()
2160 TCGv_i64 t = tcg_temp_new_i64(); in gen_uhsub16_i64() local
2162 tcg_gen_andc_i64(t, b, a); in gen_uhsub16_i64()
2165 tcg_gen_andi_i64(t, t, dup_const(MO_16, 1)); in gen_uhsub16_i64()
2167 tcg_gen_vec_sub16_i64(d, d, t); in gen_uhsub16_i64()
2172 TCGv_i32 t = tcg_temp_new_i32(); in gen_uhsub_i32() local
2174 tcg_gen_andc_i32(t, b, a); in gen_uhsub_i32()
2177 tcg_gen_andi_i32(t, t, 1); in gen_uhsub_i32()
2179 tcg_gen_sub_i32(d, d, t); in gen_uhsub_i32()
2184 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_uhsub_vec() local
2186 tcg_gen_andc_vec(vece, t, b, a); in gen_uhsub_vec()
2189 tcg_gen_and_vec(vece, t, t, tcg_constant_vec_matching(d, vece, 1)); in gen_uhsub_vec()
2191 tcg_gen_sub_vec(vece, d, d, t); in gen_uhsub_vec()
2220 TCGv_i64 t = tcg_temp_new_i64(); in gen_srhadd8_i64() local
2222 tcg_gen_or_i64(t, a, b); in gen_srhadd8_i64()
2225 tcg_gen_andi_i64(t, t, dup_const(MO_8, 1)); in gen_srhadd8_i64()
2227 tcg_gen_vec_add8_i64(d, d, t); in gen_srhadd8_i64()
2232 TCGv_i64 t = tcg_temp_new_i64(); in gen_srhadd16_i64() local
2234 tcg_gen_or_i64(t, a, b); in gen_srhadd16_i64()
2237 tcg_gen_andi_i64(t, t, dup_const(MO_16, 1)); in gen_srhadd16_i64()
2239 tcg_gen_vec_add16_i64(d, d, t); in gen_srhadd16_i64()
2244 TCGv_i32 t = tcg_temp_new_i32(); in gen_srhadd_i32() local
2246 tcg_gen_or_i32(t, a, b); in gen_srhadd_i32()
2249 tcg_gen_andi_i32(t, t, 1); in gen_srhadd_i32()
2251 tcg_gen_add_i32(d, d, t); in gen_srhadd_i32()
2256 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_srhadd_vec() local
2258 tcg_gen_or_vec(vece, t, a, b); in gen_srhadd_vec()
2261 tcg_gen_and_vec(vece, t, t, tcg_constant_vec_matching(d, vece, 1)); in gen_srhadd_vec()
2263 tcg_gen_add_vec(vece, d, d, t); in gen_srhadd_vec()
2292 TCGv_i64 t = tcg_temp_new_i64(); in gen_urhadd8_i64() local
2294 tcg_gen_or_i64(t, a, b); in gen_urhadd8_i64()
2297 tcg_gen_andi_i64(t, t, dup_const(MO_8, 1)); in gen_urhadd8_i64()
2299 tcg_gen_vec_add8_i64(d, d, t); in gen_urhadd8_i64()
2304 TCGv_i64 t = tcg_temp_new_i64(); in gen_urhadd16_i64() local
2306 tcg_gen_or_i64(t, a, b); in gen_urhadd16_i64()
2309 tcg_gen_andi_i64(t, t, dup_const(MO_16, 1)); in gen_urhadd16_i64()
2311 tcg_gen_vec_add16_i64(d, d, t); in gen_urhadd16_i64()
2316 TCGv_i32 t = tcg_temp_new_i32(); in gen_urhadd_i32() local
2318 tcg_gen_or_i32(t, a, b); in gen_urhadd_i32()
2321 tcg_gen_andi_i32(t, t, 1); in gen_urhadd_i32()
2323 tcg_gen_add_i32(d, d, t); in gen_urhadd_i32()
2328 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_urhadd_vec() local
2330 tcg_gen_or_vec(vece, t, a, b); in gen_urhadd_vec()
2333 tcg_gen_and_vec(vece, t, t, tcg_constant_vec_matching(d, vece, 1)); in gen_urhadd_vec()
2335 tcg_gen_add_vec(vece, d, d, t); in gen_urhadd_vec()