Home
last modified time | relevance | path

Searched refs:sew (Results 1 – 8 of 8) sorted by relevance

/openbmc/qemu/target/riscv/insn_trans/
H A Dtrans_rvvk.c.inc38 s->sew == MO_64;
58 s->sew == MO_64;
78 return do_opivi_gvec(s, a, tcg_gen_gvec_##SUF, fns[s->sew], \
94 return do_opivv_gvec(s, a, tcg_gen_gvec_##SUF, fns[s->sew]); \
110 fns[s->sew]); \
147 return do_opivx_gvec(s, a, tcg_gen_gvec_##SUF, fns[s->sew]); \
176 data, fns[s->sew]); \
226 return opivi_trans(a->rd, a->rs1, a->rs2, a->vm, fns[s->sew], s, \
277 int egw_bytes = ZVKNED_EGS << s->sew;
284 s->sew == MO_32;
[all …]
H A Dtrans_rvv.c.inc41 switch (s->sew) {
59 switch (s->sew) {
75 switch (s->sew) {
93 switch (s->sew) {
253 int8_t emul = eew - s->sew + s->lmul;
292 int8_t emul = eew - s->sew + s->lmul;
330 int8_t emul = eew - s->sew + s->lmul;
338 if (eew > s->sew) {
342 } else if (eew < s->sew) {
439 (s->sew < MO_64) &&
[all …]
H A Dtrans_rvbf16.c.inc72 if (opfv_narrow_check(ctx, a) && (ctx->sew == MO_16)) {
97 if (opfv_widen_check(ctx, a) && (ctx->sew == MO_16)) {
122 if (require_rvv(ctx) && vext_check_isa_ill(ctx) && (ctx->sew == MO_16) &&
149 if (require_rvv(ctx) && (ctx->sew == MO_16) && vext_check_isa_ill(ctx) &&
/openbmc/qemu/target/riscv/
H A Dvector_internals.h117 uint32_t sew = 1 << FIELD_EX64(env->vtype, VTYPE, VSEW); in vext_get_total_elems() local
118 int8_t emul = ctzl(esz) - ctzl(sew) + vext_lmul(desc) < 0 ? 0 : in vext_get_total_elems()
119 ctzl(esz) - ctzl(sew) + vext_lmul(desc); in vext_get_total_elems()
H A Dvcrypto_helper.c463 uint32_t sew = FIELD_EX64(env->vtype, VTYPE, VSEW); in HELPER() local
464 uint32_t esz = sew == MO_32 ? 4 : 8; in HELPER()
471 if (sew == MO_32) { in HELPER()
H A Dtranslate.c100 uint8_t sew; member
1237 ctx->sew = FIELD_EX32(tb_flags, TB_FLAGS, SEW); in riscv_tr_init_disas_context()
H A Dvector_helper.c41 uint16_t sew = 8 << vsew; in HELPER() local
59 if (vlmul == 4 || (vlen >> (8 - vlmul)) < sew) { in HELPER()
64 if ((sew > cpu->cfg.elen) || vill || (ediv != 0) || (reserved != 0)) { in HELPER()
/openbmc/qemu/disas/
H A Driscv.c5269 const int sew = 1 << (((dec->vzimm >> 3) & 0b111) + 3); in format_inst() local
5275 g_string_append_printf(buf, "e%d,m", sew); in format_inst()