misc.cc (7232:f633e1a3f644) misc.cc (7233:687fa9b9c2b5)
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

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

150 printMnemonic(ss);
151 printReg(ss, dest);
152 ss << ", ";
153 printReg(ss, op1);
154 return ss.str();
155}
156
157std::string
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

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

150 printMnemonic(ss);
151 printReg(ss, dest);
152 ss << ", ";
153 printReg(ss, op1);
154 return ss.str();
155}
156
157std::string
158RegRegRegImmOp::generateDisassembly(Addr pc, const SymbolTable *symtab) const
159{
160 std::stringstream ss;
161 printMnemonic(ss);
162 printReg(ss, dest);
163 ss << ", ";
164 printReg(ss, op1);
165 ss << ", ";
166 printReg(ss, op2);
167 ccprintf(ss, ", #%d", imm);
168 return ss.str();
169}
170
171std::string
158RegImmRegOp::generateDisassembly(Addr pc, const SymbolTable *symtab) const
159{
160 std::stringstream ss;
161 printMnemonic(ss);
162 printReg(ss, dest);
163 ccprintf(ss, ", #%d, ", imm);
164 printReg(ss, op1);
165 return ss.str();

--- 13 unchanged lines hidden ---
172RegImmRegOp::generateDisassembly(Addr pc, const SymbolTable *symtab) const
173{
174 std::stringstream ss;
175 printMnemonic(ss);
176 printReg(ss, dest);
177 ccprintf(ss, ", #%d, ", imm);
178 printReg(ss, op1);
179 return ss.str();

--- 13 unchanged lines hidden ---