vsm.v
No synopsis available.
This instruction is defined by:
-
V, version >= 0
This instruction is included in the following profiles:
-
RVA22S64 (Optional)
-
RVA22U64 (Optional)
Execution
-
IDL
-
Sail
{
let EEW = 8;
let EMUL_pow = 0;
let vl_val = unsigned(vl);
let evl : int = if vl_val % 8 == 0 then vl_val / 8 else vl_val / 8 + 1; /* the effective vector length is evl=ceil(vl/8) */
let num_elem = get_num_elem(EMUL_pow, EEW);
if illegal_vd_unmasked() then { handle_illegal(); return RETIRE_FAIL };
assert(evl >= 0);
process_vm(vd_or_vs3, rs1, num_elem, evl, op)
}