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

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 29 23:49:39 PDT 2025


================
@@ -216,9 +216,12 @@ void RISCVInstPrinter::printVTypeI(const MCInst *MI, unsigned OpNo,
                                    const MCSubtargetInfo &STI, raw_ostream &O) {
   unsigned Imm = MI->getOperand(OpNo).getImm();
   // Print the raw immediate for reserved values: vlmul[2:0]=4, vsew[2:0]=0b1xx,
-  // or non-zero in bits 8 and above.
+  // altfmt=1 without zvfbfa extension, or non-zero in bits 9 and above.
----------------
lukel97 wrote:

Should we still treat it as reserved for bits 8 and above when there's no Zvfbfa? 

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


More information about the llvm-commits mailing list