misc.cc (7409:1ff897327905) misc.cc (7426:5da64155a605)
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

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

260 printShiftOperand(ss, op1, true, shiftAmt, INTREG_ZERO, shiftType);
261 printReg(ss, op1);
262 return ss.str();
263}
264
265std::string
266UnknownOp::generateDisassembly(Addr pc, const SymbolTable *symtab) const
267{
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

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

260 printShiftOperand(ss, op1, true, shiftAmt, INTREG_ZERO, shiftType);
261 printReg(ss, op1);
262 return ss.str();
263}
264
265std::string
266UnknownOp::generateDisassembly(Addr pc, const SymbolTable *symtab) const
267{
268 return csprintf("%-10s (inst 0x%x, opcode 0x%x, binary:%s)",
269 "unknown", machInst, machInst.opcode,
270 inst2string(machInst));
268 return csprintf("%-10s (inst %#08x)", "unknown", machInst);
271}
269}