Lines Matching refs:vn

325         ((a->vm | a->vn | a->vd) & 0x10)) {  in trans_VSEL()
330 rn = a->vn; in trans_VSEL()
577 bool mve_skip_vmov(DisasContext *s, int vn, int index, int size) in mve_skip_vmov() argument
598 int ofs = (index << size) + ((vn & 1) * 8); in mve_skip_vmov()
637 if (!dc_isar_feature(aa32_simd_r32, s) && (a->vn & 0x10)) { in trans_VMOV_to_gp()
651 if (!mve_skip_vmov(s, a->vn, a->index, a->size)) { in trans_VMOV_to_gp()
653 read_neon_element32(tmp, a->vn, a->index, in trans_VMOV_to_gp()
682 if (!dc_isar_feature(aa32_simd_r32, s) && (a->vn & 0x10)) { in trans_VMOV_from_gp()
696 if (!mve_skip_vmov(s, a->vn, a->index, a->size)) { in trans_VMOV_from_gp()
698 write_neon_element32(tmp, a->vn, a->index, a->size); in trans_VMOV_from_gp()
718 if (!dc_isar_feature(aa32_simd_r32, s) && (a->vn & 0x10)) { in trans_VDUP()
726 if (a->q && (a->vn & 1)) { in trans_VDUP()
744 tcg_gen_gvec_dup_i32(size, neon_full_reg_offset(a->vn), in trans_VDUP()
911 vfp_load_reg16(tmp, a->vn); in trans_VMOV_half()
917 vfp_store_reg32(tmp, a->vn); in trans_VMOV_half()
938 vfp_load_reg32(tmp, a->vn); in trans_VMOV_single()
948 vfp_store_reg32(tmp, a->vn); in trans_VMOV_single()
1305 TCGv_i32 vn, TCGv_i32 vm, TCGv_ptr fpst);
1307 TCGv_i64 vn, TCGv_i64 vm, TCGv_ptr fpst);
1359 int vd, int vn, int vm, bool reads_vd) in do_vfp_3op_sp() argument
1403 vfp_load_reg32(f0, vn); in do_vfp_3op_sp()
1420 vn = vfp_advance_sreg(vn, delta_d); in do_vfp_3op_sp()
1421 vfp_load_reg32(f0, vn); in do_vfp_3op_sp()
1431 int vd, int vn, int vm, bool reads_vd) in do_vfp_3op_hp() argument
1461 vfp_load_reg16(f0, vn); in do_vfp_3op_hp()
1473 int vd, int vn, int vm, bool reads_vd) in do_vfp_3op_dp() argument
1486 if (!dc_isar_feature(aa32_simd_r32, s) && ((vd | vn | vm) & 0x10)) { in do_vfp_3op_dp()
1522 vfp_load_reg64(f0, vn); in do_vfp_3op_dp()
1538 vn = vfp_advance_dreg(vn, delta_d); in do_vfp_3op_dp()
1539 vfp_load_reg64(f0, vn); in do_vfp_3op_dp()
1720 static void gen_VMLA_hp(TCGv_i32 vd, TCGv_i32 vn, TCGv_i32 vm, TCGv_ptr fpst) in gen_VMLA_hp() argument
1725 gen_helper_vfp_mulh(tmp, vn, vm, fpst); in gen_VMLA_hp()
1731 return do_vfp_3op_hp(s, gen_VMLA_hp, a->vd, a->vn, a->vm, true); in trans_VMLA_hp()
1734 static void gen_VMLA_sp(TCGv_i32 vd, TCGv_i32 vn, TCGv_i32 vm, TCGv_ptr fpst) in gen_VMLA_sp() argument
1739 gen_helper_vfp_muls(tmp, vn, vm, fpst); in gen_VMLA_sp()
1745 return do_vfp_3op_sp(s, gen_VMLA_sp, a->vd, a->vn, a->vm, true); in trans_VMLA_sp()
1748 static void gen_VMLA_dp(TCGv_i64 vd, TCGv_i64 vn, TCGv_i64 vm, TCGv_ptr fpst) in gen_VMLA_dp() argument
1753 gen_helper_vfp_muld(tmp, vn, vm, fpst); in gen_VMLA_dp()
1759 return do_vfp_3op_dp(s, gen_VMLA_dp, a->vd, a->vn, a->vm, true); in trans_VMLA_dp()
1762 static void gen_VMLS_hp(TCGv_i32 vd, TCGv_i32 vn, TCGv_i32 vm, TCGv_ptr fpst) in gen_VMLS_hp() argument
1770 gen_helper_vfp_mulh(tmp, vn, vm, fpst); in gen_VMLS_hp()
1777 return do_vfp_3op_hp(s, gen_VMLS_hp, a->vd, a->vn, a->vm, true); in trans_VMLS_hp()
1780 static void gen_VMLS_sp(TCGv_i32 vd, TCGv_i32 vn, TCGv_i32 vm, TCGv_ptr fpst) in gen_VMLS_sp() argument
1788 gen_helper_vfp_muls(tmp, vn, vm, fpst); in gen_VMLS_sp()
1795 return do_vfp_3op_sp(s, gen_VMLS_sp, a->vd, a->vn, a->vm, true); in trans_VMLS_sp()
1798 static void gen_VMLS_dp(TCGv_i64 vd, TCGv_i64 vn, TCGv_i64 vm, TCGv_ptr fpst) in gen_VMLS_dp() argument
1806 gen_helper_vfp_muld(tmp, vn, vm, fpst); in gen_VMLS_dp()
1813 return do_vfp_3op_dp(s, gen_VMLS_dp, a->vd, a->vn, a->vm, true); in trans_VMLS_dp()
1816 static void gen_VNMLS_hp(TCGv_i32 vd, TCGv_i32 vn, TCGv_i32 vm, TCGv_ptr fpst) in gen_VNMLS_hp() argument
1826 gen_helper_vfp_mulh(tmp, vn, vm, fpst); in gen_VNMLS_hp()
1833 return do_vfp_3op_hp(s, gen_VNMLS_hp, a->vd, a->vn, a->vm, true); in trans_VNMLS_hp()
1836 static void gen_VNMLS_sp(TCGv_i32 vd, TCGv_i32 vn, TCGv_i32 vm, TCGv_ptr fpst) in gen_VNMLS_sp() argument
1846 gen_helper_vfp_muls(tmp, vn, vm, fpst); in gen_VNMLS_sp()
1853 return do_vfp_3op_sp(s, gen_VNMLS_sp, a->vd, a->vn, a->vm, true); in trans_VNMLS_sp()
1856 static void gen_VNMLS_dp(TCGv_i64 vd, TCGv_i64 vn, TCGv_i64 vm, TCGv_ptr fpst) in gen_VNMLS_dp() argument
1866 gen_helper_vfp_muld(tmp, vn, vm, fpst); in gen_VNMLS_dp()
1873 return do_vfp_3op_dp(s, gen_VNMLS_dp, a->vd, a->vn, a->vm, true); in trans_VNMLS_dp()
1876 static void gen_VNMLA_hp(TCGv_i32 vd, TCGv_i32 vn, TCGv_i32 vm, TCGv_ptr fpst) in gen_VNMLA_hp() argument
1881 gen_helper_vfp_mulh(tmp, vn, vm, fpst); in gen_VNMLA_hp()
1889 return do_vfp_3op_hp(s, gen_VNMLA_hp, a->vd, a->vn, a->vm, true); in trans_VNMLA_hp()
1892 static void gen_VNMLA_sp(TCGv_i32 vd, TCGv_i32 vn, TCGv_i32 vm, TCGv_ptr fpst) in gen_VNMLA_sp() argument
1897 gen_helper_vfp_muls(tmp, vn, vm, fpst); in gen_VNMLA_sp()
1905 return do_vfp_3op_sp(s, gen_VNMLA_sp, a->vd, a->vn, a->vm, true); in trans_VNMLA_sp()
1908 static void gen_VNMLA_dp(TCGv_i64 vd, TCGv_i64 vn, TCGv_i64 vm, TCGv_ptr fpst) in gen_VNMLA_dp() argument
1913 gen_helper_vfp_muld(tmp, vn, vm, fpst); in gen_VNMLA_dp()
1921 return do_vfp_3op_dp(s, gen_VNMLA_dp, a->vd, a->vn, a->vm, true); in trans_VNMLA_dp()
1926 return do_vfp_3op_hp(s, gen_helper_vfp_mulh, a->vd, a->vn, a->vm, false); in trans_VMUL_hp()
1931 return do_vfp_3op_sp(s, gen_helper_vfp_muls, a->vd, a->vn, a->vm, false); in trans_VMUL_sp()
1936 return do_vfp_3op_dp(s, gen_helper_vfp_muld, a->vd, a->vn, a->vm, false); in trans_VMUL_dp()
1939 static void gen_VNMUL_hp(TCGv_i32 vd, TCGv_i32 vn, TCGv_i32 vm, TCGv_ptr fpst) in gen_VNMUL_hp() argument
1942 gen_helper_vfp_mulh(vd, vn, vm, fpst); in gen_VNMUL_hp()
1948 return do_vfp_3op_hp(s, gen_VNMUL_hp, a->vd, a->vn, a->vm, false); in trans_VNMUL_hp()
1951 static void gen_VNMUL_sp(TCGv_i32 vd, TCGv_i32 vn, TCGv_i32 vm, TCGv_ptr fpst) in gen_VNMUL_sp() argument
1954 gen_helper_vfp_muls(vd, vn, vm, fpst); in gen_VNMUL_sp()
1960 return do_vfp_3op_sp(s, gen_VNMUL_sp, a->vd, a->vn, a->vm, false); in trans_VNMUL_sp()
1963 static void gen_VNMUL_dp(TCGv_i64 vd, TCGv_i64 vn, TCGv_i64 vm, TCGv_ptr fpst) in gen_VNMUL_dp() argument
1966 gen_helper_vfp_muld(vd, vn, vm, fpst); in gen_VNMUL_dp()
1972 return do_vfp_3op_dp(s, gen_VNMUL_dp, a->vd, a->vn, a->vm, false); in trans_VNMUL_dp()
1977 return do_vfp_3op_hp(s, gen_helper_vfp_addh, a->vd, a->vn, a->vm, false); in trans_VADD_hp()
1982 return do_vfp_3op_sp(s, gen_helper_vfp_adds, a->vd, a->vn, a->vm, false); in trans_VADD_sp()
1987 return do_vfp_3op_dp(s, gen_helper_vfp_addd, a->vd, a->vn, a->vm, false); in trans_VADD_dp()
1992 return do_vfp_3op_hp(s, gen_helper_vfp_subh, a->vd, a->vn, a->vm, false); in trans_VSUB_hp()
1997 return do_vfp_3op_sp(s, gen_helper_vfp_subs, a->vd, a->vn, a->vm, false); in trans_VSUB_sp()
2002 return do_vfp_3op_dp(s, gen_helper_vfp_subd, a->vd, a->vn, a->vm, false); in trans_VSUB_dp()
2007 return do_vfp_3op_hp(s, gen_helper_vfp_divh, a->vd, a->vn, a->vm, false); in trans_VDIV_hp()
2012 return do_vfp_3op_sp(s, gen_helper_vfp_divs, a->vd, a->vn, a->vm, false); in trans_VDIV_sp()
2017 return do_vfp_3op_dp(s, gen_helper_vfp_divd, a->vd, a->vn, a->vm, false); in trans_VDIV_dp()
2026 a->vd, a->vn, a->vm, false); in trans_VMINNM_hp()
2035 a->vd, a->vn, a->vm, false); in trans_VMAXNM_hp()
2044 a->vd, a->vn, a->vm, false); in trans_VMINNM_sp()
2053 a->vd, a->vn, a->vm, false); in trans_VMAXNM_sp()
2062 a->vd, a->vn, a->vm, false); in trans_VMINNM_dp()
2071 a->vd, a->vn, a->vm, false); in trans_VMAXNM_dp()
2089 TCGv_i32 vn, vm, vd; in do_vfm_hp() local
2110 vn = tcg_temp_new_i32(); in do_vfm_hp()
2114 vfp_load_reg16(vn, a->vn); in do_vfm_hp()
2118 gen_vfp_negh(vn, vn); in do_vfm_hp()
2126 gen_helper_vfp_muladdh(vd, vn, vm, vd, fpst); in do_vfm_hp()
2146 TCGv_i32 vn, vm, vd; in do_vfm_sp() local
2169 vn = tcg_temp_new_i32(); in do_vfm_sp()
2173 vfp_load_reg32(vn, a->vn); in do_vfm_sp()
2177 gen_vfp_negs(vn, vn); in do_vfm_sp()
2185 gen_helper_vfp_muladds(vd, vn, vm, vd, fpst); in do_vfm_sp()
2205 TCGv_i64 vn, vm, vd; in do_vfm_dp() local
2226 ((a->vd | a->vn | a->vm) & 0x10)) { in do_vfm_dp()
2234 vn = tcg_temp_new_i64(); in do_vfm_dp()
2238 vfp_load_reg64(vn, a->vn); in do_vfm_dp()
2242 gen_vfp_negd(vn, vn); in do_vfm_dp()
2250 gen_helper_vfp_muladdd(vd, vn, vm, vd, fpst); in do_vfm_dp()