summaryrefslogtreecommitdiff
path: root/src/arch/arm/insts/pred_inst.cc
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-06-27 00:29:12 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-06-27 00:29:12 -0700
commita4ac3fad7a9a6c48fdde3d42e35b113bbd03eacf (patch)
tree283ed5b25e52462c1d0988cba6b26020c2107e40 /src/arch/arm/insts/pred_inst.cc
parent38d8bc64baab5ef17958d84e9d5fe6d62c31fca3 (diff)
downloadgem5-a4ac3fad7a9a6c48fdde3d42e35b113bbd03eacf.tar.xz
ARM: Write a function for printing mnemonics and predicates.
Diffstat (limited to 'src/arch/arm/insts/pred_inst.cc')
-rw-r--r--src/arch/arm/insts/pred_inst.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/arch/arm/insts/pred_inst.cc b/src/arch/arm/insts/pred_inst.cc
index 416815aa8..7fd891b19 100644
--- a/src/arch/arm/insts/pred_inst.cc
+++ b/src/arch/arm/insts/pred_inst.cc
@@ -35,9 +35,7 @@ std::string
PredOp::generateDisassembly(Addr pc, const SymbolTable *symtab) const
{
std::stringstream ss;
-
- ccprintf(ss, "%-10s ", mnemonic);
-
+ printMnemonic(ss);
if (_numDestRegs > 0) {
printReg(ss, _destRegIdx[0]);
}