[PATCH] D140460: [RISCV][MC] Add support for experimental zfa extension

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 08:52:34 PST 2023


craig.topper added inline comments.
Herald added a subscriber: luke.


================
Comment at: llvm/lib/Target/RISCV/MCTargetDesc/RISCVInstPrinter.cpp:166
+  else
+    O << bit_cast<float>(RISCVLoadFPImm::getFPImm(MO.getImm()));
+}
----------------
joshua-arch1 wrote:
> craig.topper wrote:
> > I think we should use APFloat::toString here to print with full precision.
> What formatprecision should I choose for the second parameter in toString()?
I think the default value will print whatever precision is needed.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140460/new/

https://reviews.llvm.org/D140460



More information about the llvm-commits mailing list