Lines Matching refs:d
79 void NAME(unsigned vece, uint32_t d, uint32_t m, \
81 { tcg_gen_gvec_cmpi(COND, vece, d, m, 0, opr_sz, max_sz); }
91 static void gen_ssra8_i64(TCGv_i64 d, TCGv_i64 a, int64_t shift) in GEN_CMP0()
94 tcg_gen_vec_add8_i64(d, d, a); in GEN_CMP0()
97 static void gen_ssra16_i64(TCGv_i64 d, TCGv_i64 a, int64_t shift) in gen_ssra16_i64() argument
100 tcg_gen_vec_add16_i64(d, d, a); in gen_ssra16_i64()
103 static void gen_ssra32_i32(TCGv_i32 d, TCGv_i32 a, int32_t shift) in gen_ssra32_i32() argument
106 tcg_gen_add_i32(d, d, a); in gen_ssra32_i32()
109 static void gen_ssra64_i64(TCGv_i64 d, TCGv_i64 a, int64_t shift) in gen_ssra64_i64() argument
112 tcg_gen_add_i64(d, d, a); in gen_ssra64_i64()
115 static void gen_ssra_vec(unsigned vece, TCGv_vec d, TCGv_vec a, int64_t sh) in gen_ssra_vec() argument
118 tcg_gen_add_vec(vece, d, d, a); in gen_ssra_vec()
167 static void gen_usra8_i64(TCGv_i64 d, TCGv_i64 a, int64_t shift) in gen_usra8_i64() argument
170 tcg_gen_vec_add8_i64(d, d, a); in gen_usra8_i64()
173 static void gen_usra16_i64(TCGv_i64 d, TCGv_i64 a, int64_t shift) in gen_usra16_i64() argument
176 tcg_gen_vec_add16_i64(d, d, a); in gen_usra16_i64()
179 static void gen_usra32_i32(TCGv_i32 d, TCGv_i32 a, int32_t shift) in gen_usra32_i32() argument
182 tcg_gen_add_i32(d, d, a); in gen_usra32_i32()
185 static void gen_usra64_i64(TCGv_i64 d, TCGv_i64 a, int64_t shift) in gen_usra64_i64() argument
188 tcg_gen_add_i64(d, d, a); in gen_usra64_i64()
191 static void gen_usra_vec(unsigned vece, TCGv_vec d, TCGv_vec a, int64_t sh) in gen_usra_vec() argument
194 tcg_gen_add_vec(vece, d, d, a); in gen_usra_vec()
253 static void gen_srshr8_i64(TCGv_i64 d, TCGv_i64 a, int64_t sh) in gen_srshr8_i64() argument
259 tcg_gen_vec_sar8i_i64(d, a, sh); in gen_srshr8_i64()
260 tcg_gen_vec_add8_i64(d, d, t); in gen_srshr8_i64()
263 static void gen_srshr16_i64(TCGv_i64 d, TCGv_i64 a, int64_t sh) in gen_srshr16_i64() argument
269 tcg_gen_vec_sar16i_i64(d, a, sh); in gen_srshr16_i64()
270 tcg_gen_vec_add16_i64(d, d, t); in gen_srshr16_i64()
273 void gen_srshr32_i32(TCGv_i32 d, TCGv_i32 a, int32_t sh) in gen_srshr32_i32() argument
279 tcg_gen_movi_i32(d, 0); in gen_srshr32_i32()
284 tcg_gen_sari_i32(d, a, sh); in gen_srshr32_i32()
285 tcg_gen_add_i32(d, d, t); in gen_srshr32_i32()
288 void gen_srshr64_i64(TCGv_i64 d, TCGv_i64 a, int64_t sh) in gen_srshr64_i64() argument
293 tcg_gen_sari_i64(d, a, sh); in gen_srshr64_i64()
294 tcg_gen_add_i64(d, d, t); in gen_srshr64_i64()
297 static void gen_srshr_vec(unsigned vece, TCGv_vec d, TCGv_vec a, int64_t sh) in gen_srshr_vec() argument
299 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_srshr_vec()
300 TCGv_vec ones = tcg_temp_new_vec_matching(d); in gen_srshr_vec()
305 tcg_gen_sari_vec(vece, d, a, sh); in gen_srshr_vec()
306 tcg_gen_add_vec(vece, d, d, t); in gen_srshr_vec()
356 static void gen_srsra8_i64(TCGv_i64 d, TCGv_i64 a, int64_t sh) in gen_srsra8_i64() argument
361 tcg_gen_vec_add8_i64(d, d, t); in gen_srsra8_i64()
364 static void gen_srsra16_i64(TCGv_i64 d, TCGv_i64 a, int64_t sh) in gen_srsra16_i64() argument
369 tcg_gen_vec_add16_i64(d, d, t); in gen_srsra16_i64()
372 static void gen_srsra32_i32(TCGv_i32 d, TCGv_i32 a, int32_t sh) in gen_srsra32_i32() argument
377 tcg_gen_add_i32(d, d, t); in gen_srsra32_i32()
380 static void gen_srsra64_i64(TCGv_i64 d, TCGv_i64 a, int64_t sh) in gen_srsra64_i64() argument
385 tcg_gen_add_i64(d, d, t); in gen_srsra64_i64()
388 static void gen_srsra_vec(unsigned vece, TCGv_vec d, TCGv_vec a, int64_t sh) in gen_srsra_vec() argument
390 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_srsra_vec()
393 tcg_gen_add_vec(vece, d, d, t); in gen_srsra_vec()
448 static void gen_urshr8_i64(TCGv_i64 d, TCGv_i64 a, int64_t sh) in gen_urshr8_i64() argument
454 tcg_gen_vec_shr8i_i64(d, a, sh); in gen_urshr8_i64()
455 tcg_gen_vec_add8_i64(d, d, t); in gen_urshr8_i64()
458 static void gen_urshr16_i64(TCGv_i64 d, TCGv_i64 a, int64_t sh) in gen_urshr16_i64() argument
464 tcg_gen_vec_shr16i_i64(d, a, sh); in gen_urshr16_i64()
465 tcg_gen_vec_add16_i64(d, d, t); in gen_urshr16_i64()
468 void gen_urshr32_i32(TCGv_i32 d, TCGv_i32 a, int32_t sh) in gen_urshr32_i32() argument
474 tcg_gen_extract_i32(d, a, sh - 1, 1); in gen_urshr32_i32()
479 tcg_gen_shri_i32(d, a, sh); in gen_urshr32_i32()
480 tcg_gen_add_i32(d, d, t); in gen_urshr32_i32()
483 void gen_urshr64_i64(TCGv_i64 d, TCGv_i64 a, int64_t sh) in gen_urshr64_i64() argument
488 tcg_gen_shri_i64(d, a, sh); in gen_urshr64_i64()
489 tcg_gen_add_i64(d, d, t); in gen_urshr64_i64()
492 static void gen_urshr_vec(unsigned vece, TCGv_vec d, TCGv_vec a, int64_t shift) in gen_urshr_vec() argument
494 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_urshr_vec()
495 TCGv_vec ones = tcg_temp_new_vec_matching(d); in gen_urshr_vec()
500 tcg_gen_shri_vec(vece, d, a, shift); in gen_urshr_vec()
501 tcg_gen_add_vec(vece, d, d, t); in gen_urshr_vec()
550 static void gen_ursra8_i64(TCGv_i64 d, TCGv_i64 a, int64_t sh) in gen_ursra8_i64() argument
559 tcg_gen_vec_add8_i64(d, d, t); in gen_ursra8_i64()
562 static void gen_ursra16_i64(TCGv_i64 d, TCGv_i64 a, int64_t sh) in gen_ursra16_i64() argument
571 tcg_gen_vec_add16_i64(d, d, t); in gen_ursra16_i64()
574 static void gen_ursra32_i32(TCGv_i32 d, TCGv_i32 a, int32_t sh) in gen_ursra32_i32() argument
583 tcg_gen_add_i32(d, d, t); in gen_ursra32_i32()
586 static void gen_ursra64_i64(TCGv_i64 d, TCGv_i64 a, int64_t sh) in gen_ursra64_i64() argument
595 tcg_gen_add_i64(d, d, t); in gen_ursra64_i64()
598 static void gen_ursra_vec(unsigned vece, TCGv_vec d, TCGv_vec a, int64_t sh) in gen_ursra_vec() argument
600 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_ursra_vec()
607 tcg_gen_add_vec(vece, d, d, t); in gen_ursra_vec()
651 static void gen_shr8_ins_i64(TCGv_i64 d, TCGv_i64 a, int64_t shift) in gen_shr8_ins_i64() argument
658 tcg_gen_andi_i64(d, d, ~mask); in gen_shr8_ins_i64()
659 tcg_gen_or_i64(d, d, t); in gen_shr8_ins_i64()
662 static void gen_shr16_ins_i64(TCGv_i64 d, TCGv_i64 a, int64_t shift) in gen_shr16_ins_i64() argument
669 tcg_gen_andi_i64(d, d, ~mask); in gen_shr16_ins_i64()
670 tcg_gen_or_i64(d, d, t); in gen_shr16_ins_i64()
673 static void gen_shr32_ins_i32(TCGv_i32 d, TCGv_i32 a, int32_t shift) in gen_shr32_ins_i32() argument
676 tcg_gen_deposit_i32(d, d, a, 0, 32 - shift); in gen_shr32_ins_i32()
679 static void gen_shr64_ins_i64(TCGv_i64 d, TCGv_i64 a, int64_t shift) in gen_shr64_ins_i64() argument
682 tcg_gen_deposit_i64(d, d, a, 0, 64 - shift); in gen_shr64_ins_i64()
685 static void gen_shr_ins_vec(unsigned vece, TCGv_vec d, TCGv_vec a, int64_t sh) in gen_shr_ins_vec() argument
687 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_shr_ins_vec()
688 TCGv_vec m = tcg_temp_new_vec_matching(d); in gen_shr_ins_vec()
692 tcg_gen_and_vec(vece, d, d, m); in gen_shr_ins_vec()
693 tcg_gen_or_vec(vece, d, d, t); in gen_shr_ins_vec()
741 static void gen_shl8_ins_i64(TCGv_i64 d, TCGv_i64 a, int64_t shift) in gen_shl8_ins_i64() argument
748 tcg_gen_andi_i64(d, d, ~mask); in gen_shl8_ins_i64()
749 tcg_gen_or_i64(d, d, t); in gen_shl8_ins_i64()
752 static void gen_shl16_ins_i64(TCGv_i64 d, TCGv_i64 a, int64_t shift) in gen_shl16_ins_i64() argument
759 tcg_gen_andi_i64(d, d, ~mask); in gen_shl16_ins_i64()
760 tcg_gen_or_i64(d, d, t); in gen_shl16_ins_i64()
763 static void gen_shl32_ins_i32(TCGv_i32 d, TCGv_i32 a, int32_t shift) in gen_shl32_ins_i32() argument
765 tcg_gen_deposit_i32(d, d, a, shift, 32 - shift); in gen_shl32_ins_i32()
768 static void gen_shl64_ins_i64(TCGv_i64 d, TCGv_i64 a, int64_t shift) in gen_shl64_ins_i64() argument
770 tcg_gen_deposit_i64(d, d, a, shift, 64 - shift); in gen_shl64_ins_i64()
773 static void gen_shl_ins_vec(unsigned vece, TCGv_vec d, TCGv_vec a, int64_t sh) in gen_shl_ins_vec() argument
775 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_shl_ins_vec()
776 TCGv_vec m = tcg_temp_new_vec_matching(d); in gen_shl_ins_vec()
780 tcg_gen_and_vec(vece, d, d, m); in gen_shl_ins_vec()
781 tcg_gen_or_vec(vece, d, d, t); in gen_shl_ins_vec()
827 static void gen_mla8_i32(TCGv_i32 d, TCGv_i32 a, TCGv_i32 b) in gen_mla8_i32() argument
830 gen_helper_neon_add_u8(d, d, a); in gen_mla8_i32()
833 static void gen_mls8_i32(TCGv_i32 d, TCGv_i32 a, TCGv_i32 b) in gen_mls8_i32() argument
836 gen_helper_neon_sub_u8(d, d, a); in gen_mls8_i32()
839 static void gen_mla16_i32(TCGv_i32 d, TCGv_i32 a, TCGv_i32 b) in gen_mla16_i32() argument
842 gen_helper_neon_add_u16(d, d, a); in gen_mla16_i32()
845 static void gen_mls16_i32(TCGv_i32 d, TCGv_i32 a, TCGv_i32 b) in gen_mls16_i32() argument
848 gen_helper_neon_sub_u16(d, d, a); in gen_mls16_i32()
851 static void gen_mla32_i32(TCGv_i32 d, TCGv_i32 a, TCGv_i32 b) in gen_mla32_i32() argument
854 tcg_gen_add_i32(d, d, a); in gen_mla32_i32()
857 static void gen_mls32_i32(TCGv_i32 d, TCGv_i32 a, TCGv_i32 b) in gen_mls32_i32() argument
860 tcg_gen_sub_i32(d, d, a); in gen_mls32_i32()
863 static void gen_mla64_i64(TCGv_i64 d, TCGv_i64 a, TCGv_i64 b) in gen_mla64_i64() argument
866 tcg_gen_add_i64(d, d, a); in gen_mla64_i64()
869 static void gen_mls64_i64(TCGv_i64 d, TCGv_i64 a, TCGv_i64 b) in gen_mls64_i64() argument
872 tcg_gen_sub_i64(d, d, a); in gen_mls64_i64()
875 static void gen_mla_vec(unsigned vece, TCGv_vec d, TCGv_vec a, TCGv_vec b) in gen_mla_vec() argument
878 tcg_gen_add_vec(vece, d, d, a); in gen_mla_vec()
881 static void gen_mls_vec(unsigned vece, TCGv_vec d, TCGv_vec a, TCGv_vec b) in gen_mls_vec() argument
884 tcg_gen_sub_vec(vece, d, d, a); in gen_mls_vec()
955 static void gen_cmtst_i32(TCGv_i32 d, TCGv_i32 a, TCGv_i32 b) in gen_cmtst_i32() argument
957 tcg_gen_negsetcond_i32(TCG_COND_TSTNE, d, a, b); in gen_cmtst_i32()
960 void gen_cmtst_i64(TCGv_i64 d, TCGv_i64 a, TCGv_i64 b) in gen_cmtst_i64() argument
962 tcg_gen_negsetcond_i64(TCG_COND_TSTNE, d, a, b); in gen_cmtst_i64()
965 static void gen_cmtst_vec(unsigned vece, TCGv_vec d, TCGv_vec a, TCGv_vec b) in gen_cmtst_vec() argument
967 tcg_gen_cmp_vec(TCG_COND_TSTNE, vece, d, a, b); in gen_cmtst_vec()
1599 static void gen_sabd_i32(TCGv_i32 d, TCGv_i32 a, TCGv_i32 b) in gen_sabd_i32() argument
1604 tcg_gen_sub_i32(d, b, a); in gen_sabd_i32()
1605 tcg_gen_movcond_i32(TCG_COND_LT, d, a, b, d, t); in gen_sabd_i32()
1608 static void gen_sabd_i64(TCGv_i64 d, TCGv_i64 a, TCGv_i64 b) in gen_sabd_i64() argument
1613 tcg_gen_sub_i64(d, b, a); in gen_sabd_i64()
1614 tcg_gen_movcond_i64(TCG_COND_LT, d, a, b, d, t); in gen_sabd_i64()
1617 static void gen_sabd_vec(unsigned vece, TCGv_vec d, TCGv_vec a, TCGv_vec b) in gen_sabd_vec() argument
1619 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_sabd_vec()
1622 tcg_gen_smax_vec(vece, d, a, b); in gen_sabd_vec()
1623 tcg_gen_sub_vec(vece, d, d, t); in gen_sabd_vec()
1656 static void gen_uabd_i32(TCGv_i32 d, TCGv_i32 a, TCGv_i32 b) in gen_uabd_i32() argument
1661 tcg_gen_sub_i32(d, b, a); in gen_uabd_i32()
1662 tcg_gen_movcond_i32(TCG_COND_LTU, d, a, b, d, t); in gen_uabd_i32()
1665 static void gen_uabd_i64(TCGv_i64 d, TCGv_i64 a, TCGv_i64 b) in gen_uabd_i64() argument
1670 tcg_gen_sub_i64(d, b, a); in gen_uabd_i64()
1671 tcg_gen_movcond_i64(TCG_COND_LTU, d, a, b, d, t); in gen_uabd_i64()
1674 static void gen_uabd_vec(unsigned vece, TCGv_vec d, TCGv_vec a, TCGv_vec b) in gen_uabd_vec() argument
1676 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_uabd_vec()
1679 tcg_gen_umax_vec(vece, d, a, b); in gen_uabd_vec()
1680 tcg_gen_sub_vec(vece, d, d, t); in gen_uabd_vec()
1713 static void gen_saba_i32(TCGv_i32 d, TCGv_i32 a, TCGv_i32 b) in gen_saba_i32() argument
1717 tcg_gen_add_i32(d, d, t); in gen_saba_i32()
1720 static void gen_saba_i64(TCGv_i64 d, TCGv_i64 a, TCGv_i64 b) in gen_saba_i64() argument
1724 tcg_gen_add_i64(d, d, t); in gen_saba_i64()
1727 static void gen_saba_vec(unsigned vece, TCGv_vec d, TCGv_vec a, TCGv_vec b) in gen_saba_vec() argument
1729 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_saba_vec()
1731 tcg_gen_add_vec(vece, d, d, t); in gen_saba_vec()
1769 static void gen_uaba_i32(TCGv_i32 d, TCGv_i32 a, TCGv_i32 b) in gen_uaba_i32() argument
1773 tcg_gen_add_i32(d, d, t); in gen_uaba_i32()
1776 static void gen_uaba_i64(TCGv_i64 d, TCGv_i64 a, TCGv_i64 b) in gen_uaba_i64() argument
1780 tcg_gen_add_i64(d, d, t); in gen_uaba_i64()
1783 static void gen_uaba_vec(unsigned vece, TCGv_vec d, TCGv_vec a, TCGv_vec b) in gen_uaba_vec() argument
1785 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_uaba_vec()
1787 tcg_gen_add_vec(vece, d, d, t); in gen_uaba_vec()
1885 static void gen_shadd8_i64(TCGv_i64 d, TCGv_i64 a, TCGv_i64 b) in gen_shadd8_i64() argument
1893 tcg_gen_vec_add8_i64(d, a, b); in gen_shadd8_i64()
1894 tcg_gen_vec_add8_i64(d, d, t); in gen_shadd8_i64()
1897 static void gen_shadd16_i64(TCGv_i64 d, TCGv_i64 a, TCGv_i64 b) in gen_shadd16_i64() argument
1905 tcg_gen_vec_add16_i64(d, a, b); in gen_shadd16_i64()
1906 tcg_gen_vec_add16_i64(d, d, t); in gen_shadd16_i64()
1909 static void gen_shadd_i32(TCGv_i32 d, TCGv_i32 a, TCGv_i32 b) in gen_shadd_i32() argument
1917 tcg_gen_add_i32(d, a, b); in gen_shadd_i32()
1918 tcg_gen_add_i32(d, d, t); in gen_shadd_i32()
1921 static void gen_shadd_vec(unsigned vece, TCGv_vec d, TCGv_vec a, TCGv_vec b) in gen_shadd_vec() argument
1923 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_shadd_vec()
1928 tcg_gen_and_vec(vece, t, t, tcg_constant_vec_matching(d, vece, 1)); in gen_shadd_vec()
1929 tcg_gen_add_vec(vece, d, a, b); in gen_shadd_vec()
1930 tcg_gen_add_vec(vece, d, d, t); in gen_shadd_vec()
1957 static void gen_uhadd8_i64(TCGv_i64 d, TCGv_i64 a, TCGv_i64 b) in gen_uhadd8_i64() argument
1965 tcg_gen_vec_add8_i64(d, a, b); in gen_uhadd8_i64()
1966 tcg_gen_vec_add8_i64(d, d, t); in gen_uhadd8_i64()
1969 static void gen_uhadd16_i64(TCGv_i64 d, TCGv_i64 a, TCGv_i64 b) in gen_uhadd16_i64() argument
1977 tcg_gen_vec_add16_i64(d, a, b); in gen_uhadd16_i64()
1978 tcg_gen_vec_add16_i64(d, d, t); in gen_uhadd16_i64()
1981 static void gen_uhadd_i32(TCGv_i32 d, TCGv_i32 a, TCGv_i32 b) in gen_uhadd_i32() argument
1989 tcg_gen_add_i32(d, a, b); in gen_uhadd_i32()
1990 tcg_gen_add_i32(d, d, t); in gen_uhadd_i32()
1993 static void gen_uhadd_vec(unsigned vece, TCGv_vec d, TCGv_vec a, TCGv_vec b) in gen_uhadd_vec() argument
1995 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_uhadd_vec()
2000 tcg_gen_and_vec(vece, t, t, tcg_constant_vec_matching(d, vece, 1)); in gen_uhadd_vec()
2001 tcg_gen_add_vec(vece, d, a, b); in gen_uhadd_vec()
2002 tcg_gen_add_vec(vece, d, d, t); in gen_uhadd_vec()
2029 static void gen_shsub8_i64(TCGv_i64 d, TCGv_i64 a, TCGv_i64 b) in gen_shsub8_i64() argument
2037 tcg_gen_vec_sub8_i64(d, a, b); in gen_shsub8_i64()
2038 tcg_gen_vec_sub8_i64(d, d, t); in gen_shsub8_i64()
2041 static void gen_shsub16_i64(TCGv_i64 d, TCGv_i64 a, TCGv_i64 b) in gen_shsub16_i64() argument
2049 tcg_gen_vec_sub16_i64(d, a, b); in gen_shsub16_i64()
2050 tcg_gen_vec_sub16_i64(d, d, t); in gen_shsub16_i64()
2053 static void gen_shsub_i32(TCGv_i32 d, TCGv_i32 a, TCGv_i32 b) in gen_shsub_i32() argument
2061 tcg_gen_sub_i32(d, a, b); in gen_shsub_i32()
2062 tcg_gen_sub_i32(d, d, t); in gen_shsub_i32()
2065 static void gen_shsub_vec(unsigned vece, TCGv_vec d, TCGv_vec a, TCGv_vec b) in gen_shsub_vec() argument
2067 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_shsub_vec()
2072 tcg_gen_and_vec(vece, t, t, tcg_constant_vec_matching(d, vece, 1)); in gen_shsub_vec()
2073 tcg_gen_sub_vec(vece, d, a, b); in gen_shsub_vec()
2074 tcg_gen_sub_vec(vece, d, d, t); in gen_shsub_vec()
2101 static void gen_uhsub8_i64(TCGv_i64 d, TCGv_i64 a, TCGv_i64 b) in gen_uhsub8_i64() argument
2109 tcg_gen_vec_sub8_i64(d, a, b); in gen_uhsub8_i64()
2110 tcg_gen_vec_sub8_i64(d, d, t); in gen_uhsub8_i64()
2113 static void gen_uhsub16_i64(TCGv_i64 d, TCGv_i64 a, TCGv_i64 b) in gen_uhsub16_i64() argument
2121 tcg_gen_vec_sub16_i64(d, a, b); in gen_uhsub16_i64()
2122 tcg_gen_vec_sub16_i64(d, d, t); in gen_uhsub16_i64()
2125 static void gen_uhsub_i32(TCGv_i32 d, TCGv_i32 a, TCGv_i32 b) in gen_uhsub_i32() argument
2133 tcg_gen_sub_i32(d, a, b); in gen_uhsub_i32()
2134 tcg_gen_sub_i32(d, d, t); in gen_uhsub_i32()
2137 static void gen_uhsub_vec(unsigned vece, TCGv_vec d, TCGv_vec a, TCGv_vec b) in gen_uhsub_vec() argument
2139 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_uhsub_vec()
2144 tcg_gen_and_vec(vece, t, t, tcg_constant_vec_matching(d, vece, 1)); in gen_uhsub_vec()
2145 tcg_gen_sub_vec(vece, d, a, b); in gen_uhsub_vec()
2146 tcg_gen_sub_vec(vece, d, d, t); in gen_uhsub_vec()
2173 static void gen_srhadd8_i64(TCGv_i64 d, TCGv_i64 a, TCGv_i64 b) in gen_srhadd8_i64() argument
2181 tcg_gen_vec_add8_i64(d, a, b); in gen_srhadd8_i64()
2182 tcg_gen_vec_add8_i64(d, d, t); in gen_srhadd8_i64()
2185 static void gen_srhadd16_i64(TCGv_i64 d, TCGv_i64 a, TCGv_i64 b) in gen_srhadd16_i64() argument
2193 tcg_gen_vec_add16_i64(d, a, b); in gen_srhadd16_i64()
2194 tcg_gen_vec_add16_i64(d, d, t); in gen_srhadd16_i64()
2197 static void gen_srhadd_i32(TCGv_i32 d, TCGv_i32 a, TCGv_i32 b) in gen_srhadd_i32() argument
2205 tcg_gen_add_i32(d, a, b); in gen_srhadd_i32()
2206 tcg_gen_add_i32(d, d, t); in gen_srhadd_i32()
2209 static void gen_srhadd_vec(unsigned vece, TCGv_vec d, TCGv_vec a, TCGv_vec b) in gen_srhadd_vec() argument
2211 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_srhadd_vec()
2216 tcg_gen_and_vec(vece, t, t, tcg_constant_vec_matching(d, vece, 1)); in gen_srhadd_vec()
2217 tcg_gen_add_vec(vece, d, a, b); in gen_srhadd_vec()
2218 tcg_gen_add_vec(vece, d, d, t); in gen_srhadd_vec()
2245 static void gen_urhadd8_i64(TCGv_i64 d, TCGv_i64 a, TCGv_i64 b) in gen_urhadd8_i64() argument
2253 tcg_gen_vec_add8_i64(d, a, b); in gen_urhadd8_i64()
2254 tcg_gen_vec_add8_i64(d, d, t); in gen_urhadd8_i64()
2257 static void gen_urhadd16_i64(TCGv_i64 d, TCGv_i64 a, TCGv_i64 b) in gen_urhadd16_i64() argument
2265 tcg_gen_vec_add16_i64(d, a, b); in gen_urhadd16_i64()
2266 tcg_gen_vec_add16_i64(d, d, t); in gen_urhadd16_i64()
2269 static void gen_urhadd_i32(TCGv_i32 d, TCGv_i32 a, TCGv_i32 b) in gen_urhadd_i32() argument
2277 tcg_gen_add_i32(d, a, b); in gen_urhadd_i32()
2278 tcg_gen_add_i32(d, d, t); in gen_urhadd_i32()
2281 static void gen_urhadd_vec(unsigned vece, TCGv_vec d, TCGv_vec a, TCGv_vec b) in gen_urhadd_vec() argument
2283 TCGv_vec t = tcg_temp_new_vec_matching(d); in gen_urhadd_vec()
2288 tcg_gen_and_vec(vece, t, t, tcg_constant_vec_matching(d, vece, 1)); in gen_urhadd_vec()
2289 tcg_gen_add_vec(vece, d, a, b); in gen_urhadd_vec()
2290 tcg_gen_add_vec(vece, d, d, t); in gen_urhadd_vec()