RISC‐V vector VTYPE encoding, decoding, and printing helpers.

Namespaces

Name

Description

IME

Integer Matrix Extension (IME) VTYPE field helpers.

Enums

Name

Description

Unnamed enum

VTYPE tail and mask policy bit values used with vsetvli.

VLMUL

Vector register group multiplier (LMUL) encodings for VTYPE.

Functions

Name

Description

decodeVLMUL

Decode VLMul into an LMUL magnitude and fractional indicator.

encodeVTYPE

Encode VTYPE fields into the binary format used by vsetvli.

encodeXSfmmVType

Encode an XSfmm matrix VTYPE value from SEW, widen factor, and altfmt.

getSEWLMULRatio

Return the SEW/LMUL ratio for the given SEW and LMUL.

getSameRatioLMUL

Return an LMUL that preserves SEW/LMUL ratio Ratio for element width EEW.

printVType

Print a human‐readable VTYPE string such as "e32, m1, ta, ma" to OS.

printXSfmmVType

Print a human‐readable XSfmm VTYPE string such as "e32, w2" to OS.

Created with MrDocs