[clang] [llvm] [RISCV] Implement MC support for Zvfbfa extension (PR #151106)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 29 09:49:37 PDT 2025


================
@@ -153,12 +153,13 @@ namespace RISCVVType {
 //
 // Bits | Name       | Description
 // -----+------------+------------------------------------------------
+// 8    | altfmt     | Alternative format for bf16
 // 7    | vma        | Vector mask agnostic
 // 6    | vta        | Vector tail agnostic
 // 5:3  | vsew[2:0]  | Standard element width (SEW) setting
 // 2:0  | vlmul[2:0] | Vector register group multiplier (LMUL) setting
 unsigned encodeVTYPE(VLMUL VLMul, unsigned SEW, bool TailAgnostic,
-                     bool MaskAgnostic) {
+                     bool MaskAgnostic, bool Altfmt) {
----------------
topperc wrote:

Use `AltFmt` to match the capitalization used in encodeXSfmmVType

https://github.com/llvm/llvm-project/pull/151106


More information about the llvm-commits mailing list