Home
last modified time | relevance | path

Searched refs:vlmax (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/target/riscv/
H A Dcpu_helper.c146 uint32_t vlmax = vext_get_vlmax(cpu->cfg.vlenb, vsew, lmul); in cpu_get_tb_cpu_state() local
147 uint32_t maxsz = vlmax << vsew; in cpu_get_tb_cpu_state()
148 bool vl_eq_vlmax = (env->vstart == 0) && (vlmax == env->vl) && in cpu_get_tb_cpu_state()
H A Dvector_helper.c37 int vlmax, vl; in HELPER() local
75 vlmax = vext_get_vlmax(cpu->cfg.vlenb, vsew, lmul); in HELPER()
76 if (s1 <= vlmax) { in HELPER()
78 } else if (s1 < 2 * vlmax && cpu->cfg.rvv_vl_half_avl) { in HELPER()
81 vl = vlmax; in HELPER()
5060 uint32_t vlmax = vext_max_elems(desc, ctzl(sizeof(ETYPE))); \
5071 i_min = MIN(s1 < vlmax ? vlmax - s1 : 0, vl); \
5231 uint32_t vlmax = vext_max_elems(desc, ctzl(sizeof(TS2))); \
5250 if (index >= vlmax) { \
5276 uint32_t vlmax = vext_max_elems(desc, ctzl(sizeof(ETYPE))); \
[all …]
/openbmc/qemu/target/riscv/insn_trans/
H A Dtrans_rvv.c.inc3201 int vreg, TCGv idx, int vlmax)
3213 tcg_gen_andi_i32(ofs, ofs, vlmax - 1);
3228 t_vlmax = tcg_constant_i64(vlmax);
3474 int vlmax = vext_get_vlmax(s->cfg_ptr->vlenb, s->sew, s->lmul);
3480 vec_element_loadx(s, dest, a->rs2, cpu_gpr[a->rs1], vlmax);
3504 int vlmax = vext_get_vlmax(s->cfg_ptr->vlenb, s->sew, s->lmul);
3505 if (a->rs1 >= vlmax) {
/openbmc/qemu/tcg/riscv/
H A Dtcg-target.c.inc2877 /* rd != 0 and rs1 == 0 uses vlmax */