[backend]修复浮点数截断逻辑 h36通过

This commit is contained in:
2025-08-05 02:43:46 +08:00
parent b1efd481b4
commit f2477c4af3
3 changed files with 23 additions and 73 deletions

View File

@@ -106,6 +106,7 @@ void RISCv64AsmPrinter::printInstruction(MachineInstr* instr, bool debug) {
case RVOpcodes::FMV_S: *OS << "fmv.s "; break;
case RVOpcodes::FMV_W_X: *OS << "fmv.w.x "; break;
case RVOpcodes::FMV_X_W: *OS << "fmv.x.w "; break;
case RVOpcodes::FSRMI: *OS << "fsrmi "; break;
case RVOpcodes::CALL: { // 为CALL指令添加特殊处理逻辑
*OS << "call ";
// 遍历所有操作数,只寻找并打印函数名标签