macromem.cc (7395:9386d82f2c0b) macromem.cc (7615:50f6494d9b55)
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 201 unchanged lines hidden (view full) ---

210 for (StaticInstPtr *curUop = microOps;
211 !(*curUop)->isLastMicroop(); curUop++) {
212 MicroOp * uopPtr = dynamic_cast<MicroOp *>(curUop->get());
213 assert(uopPtr);
214 uopPtr->setDelayedCommit();
215 }
216}
217
1/*
2 * Copyright (c) 2010 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 201 unchanged lines hidden (view full) ---

210 for (StaticInstPtr *curUop = microOps;
211 !(*curUop)->isLastMicroop(); curUop++) {
212 MicroOp * uopPtr = dynamic_cast<MicroOp *>(curUop->get());
213 assert(uopPtr);
214 uopPtr->setDelayedCommit();
215 }
216}
217
218std::string
219MicroIntOp::generateDisassembly(Addr pc, const SymbolTable *symtab) const
220{
221 std::stringstream ss;
222 printMnemonic(ss);
223 printReg(ss, ura);
224 ss << ", ";
225 printReg(ss, urb);
226 ss << ", ";
227 ccprintf(ss, "#%d", imm);
228 return ss.str();
218}
229}
230
231std::string
232MicroMemOp::generateDisassembly(Addr pc, const SymbolTable *symtab) const
233{
234 std::stringstream ss;
235 printMnemonic(ss);
236 printReg(ss, ura);
237 ss << ", [";
238 printReg(ss, urb);
239 ss << ", ";
240 ccprintf(ss, "#%d", imm);
241 ss << "]";
242 return ss.str();
243}
244
245}