[llvm] [RISCV][Xqccmp] Correctly Parse/Disassemble pushfp (PR #133188)
Sam Elliott via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 26 19:02:09 PDT 2025
================
@@ -621,6 +625,17 @@ unsigned RISCVMCCodeEmitter::getRlistOpValue(const MCInst &MI, unsigned OpNo,
return Imm;
}
+unsigned
+RISCVMCCodeEmitter::getRlistS0OpValue(const MCInst &MI, unsigned OpNo,
+ SmallVectorImpl<MCFixup> &Fixups,
+ const MCSubtargetInfo &STI) const {
+ const MCOperand &MO = MI.getOperand(OpNo);
+ assert(MO.isImm() && "Rlist operand must be immediate");
+ auto Imm = MO.getImm();
+ assert(Imm >= 5 && "EABI is currently not implemented");
----------------
lenary wrote:
Done
https://github.com/llvm/llvm-project/pull/133188
More information about the llvm-commits
mailing list