diff --git a/src/alloy/backend/ivm/ivm_intcode.cc b/src/alloy/backend/ivm/ivm_intcode.cc index 9d1dbd32c..7d73a4aef 100644 --- a/src/alloy/backend/ivm/ivm_intcode.cc +++ b/src/alloy/backend/ivm/ivm_intcode.cc @@ -382,7 +382,7 @@ int TranslateInvalid(TranslationContext& ctx, Instr* i) { uint32_t IntCode_COMMENT(IntCodeState& ics, const IntCode* i) { char* value = (char*)(i->src1_reg | ((uint64_t)i->src2_reg << 32)); - IPRINT("%s\n", value); + IPRINT("XE[t] :%d: %s\n", ics.thread_state->GetThreadID(), value); IFLUSH(); return IA_NEXT; } diff --git a/src/alloy/frontend/ppc/ppc_function_builder.cc b/src/alloy/frontend/ppc/ppc_function_builder.cc index f92c3a806..c4ba68514 100644 --- a/src/alloy/frontend/ppc/ppc_function_builder.cc +++ b/src/alloy/frontend/ppc/ppc_function_builder.cc @@ -96,15 +96,15 @@ int PPCFunctionBuilder::Emit(FunctionInfo* symbol_info) { AnnotateLabel(address, label); } if (!i.type) { - Comment("%.8X: %.8X ???", address, i.code); + Comment("%.8X %.8X ???", address, i.code); } else if (i.type->disassemble) { ppc::InstrDisasm d; i.type->disassemble(i, d); std::string disasm; d.Dump(disasm); - Comment("%.8X: %.8X %s", address, i.code, disasm.c_str()); + Comment("%.8X %.8X %s", address, i.code, disasm.c_str()); } else { - Comment("%.8X: %.8X %s ???", address, i.code, i.type->name); + Comment("%.8X %.8X %s ???", address, i.code, i.type->name); } }