misc.cc (7332:2e611548bb5a) misc.cc (7409:1ff897327905)
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

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

256 std::stringstream ss;
257 printMnemonic(ss);
258 printReg(ss, dest);
259 ccprintf(ss, ", #%d, ", imm);
260 printShiftOperand(ss, op1, true, shiftAmt, INTREG_ZERO, shiftType);
261 printReg(ss, op1);
262 return ss.str();
263}
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

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

256 std::stringstream ss;
257 printMnemonic(ss);
258 printReg(ss, dest);
259 ccprintf(ss, ", #%d, ", imm);
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));
271}