Skip to content

Commit e06395a

Browse files
authored
Merge pull request #5704 from Akira1Saitoh/aarch64PrintInstructionComment
AArch64: Print instruction comments for memory reference instructions
2 parents 9233434 + 59d3d44 commit e06395a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

compiler/aarch64/codegen/ARM64Debug.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -1417,6 +1417,7 @@ TR_Debug::print(TR::FILE *pOutFile, TR::ARM64Trg1MemInstruction *instr)
14171417
}
14181418

14191419
printMemoryReferenceComment(pOutFile, instr->getMemoryReference());
1420+
printInstructionComment(pOutFile, 1, instr);
14201421
trfflush(_comp->getOutFile());
14211422
}
14221423

@@ -1427,6 +1428,7 @@ TR_Debug::print(TR::FILE *pOutFile, TR::ARM64MemInstruction *instr)
14271428
trfprintf(pOutFile, "%s \t", getOpCodeName(&instr->getOpCode()));
14281429
print(pOutFile, instr->getMemoryReference());
14291430
printMemoryReferenceComment(pOutFile, instr->getMemoryReference());
1431+
printInstructionComment(pOutFile, 1, instr);
14301432
trfflush(_comp->getOutFile());
14311433
}
14321434

@@ -1440,6 +1442,7 @@ TR_Debug::print(TR::FILE *pOutFile, TR::ARM64MemSrc1Instruction *instr)
14401442
print(pOutFile, instr->getMemoryReference());
14411443

14421444
printMemoryReferenceComment(pOutFile, instr->getMemoryReference());
1445+
printInstructionComment(pOutFile, 1, instr);
14431446
trfflush(_comp->getOutFile());
14441447
}
14451448

@@ -1454,6 +1457,7 @@ TR_Debug::print(TR::FILE *pOutFile, TR::ARM64MemSrc2Instruction *instr)
14541457
print(pOutFile, instr->getMemoryReference());
14551458

14561459
printMemoryReferenceComment(pOutFile, instr->getMemoryReference());
1460+
printInstructionComment(pOutFile, 1, instr);
14571461
trfflush(_comp->getOutFile());
14581462
}
14591463

@@ -1468,6 +1472,7 @@ TR_Debug::print(TR::FILE *pOutFile, TR::ARM64Trg1MemSrc1Instruction *instr)
14681472
print(pOutFile, instr->getMemoryReference());
14691473

14701474
printMemoryReferenceComment(pOutFile, instr->getMemoryReference());
1475+
printInstructionComment(pOutFile, 1, instr);
14711476
trfflush(_comp->getOutFile());
14721477
}
14731478

0 commit comments

Comments
 (0)