misc.hh (10537:47fe87b0cf97) misc.hh (12358:386d26feb00f)
1/*
1/*
2 * Copyright (c) 2010, 2012-2013 ARM Limited
2 * Copyright (c) 2010, 2012-2013, 2017 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
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

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

339 PredOp(mnem, _machInst, __opClass),
340 dest(_dest), imm(_imm), op1(_op1),
341 shiftAmt(_shiftAmt), shiftType(_shiftType)
342 {}
343
344 std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const;
345};
346
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
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

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

339 PredOp(mnem, _machInst, __opClass),
340 dest(_dest), imm(_imm), op1(_op1),
341 shiftAmt(_shiftAmt), shiftType(_shiftType)
342 {}
343
344 std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const;
345};
346
347class MiscRegRegImmMemOp : public PredOp
348{
349 protected:
350 MiscRegIndex dest;
351 IntRegIndex op1;
352 uint64_t imm;
353
354 MiscRegRegImmMemOp(const char *mnem, ExtMachInst _machInst,
355 OpClass __opClass, MiscRegIndex _dest, IntRegIndex _op1,
356 uint64_t _imm) :
357 PredOp(mnem, _machInst, __opClass),
358 dest(_dest), op1(_op1), imm(_imm)
359 {}
360
361 std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const;
362};
363
347class UnknownOp : public PredOp
348{
349 protected:
350
351 UnknownOp(const char *mnem, ExtMachInst _machInst, OpClass __opClass) :
352 PredOp(mnem, _machInst, __opClass)
353 {}
354
355 std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const;
356};
357
358#endif
364class UnknownOp : public PredOp
365{
366 protected:
367
368 UnknownOp(const char *mnem, ExtMachInst _machInst, OpClass __opClass) :
369 PredOp(mnem, _machInst, __opClass)
370 {}
371
372 std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const;
373};
374
375#endif