misc.hh (7331:0897d3ccea91) misc.hh (7332:2e611548bb5a)
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

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

102 ImmOp(const char *mnem, ExtMachInst _machInst, OpClass __opClass,
103 uint64_t _imm) :
104 PredOp(mnem, _machInst, __opClass), imm(_imm)
105 {}
106
107 std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const;
108};
109
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

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

102 ImmOp(const char *mnem, ExtMachInst _machInst, OpClass __opClass,
103 uint64_t _imm) :
104 PredOp(mnem, _machInst, __opClass), imm(_imm)
105 {}
106
107 std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const;
108};
109
110class RegImmOp : public PredOp
111{
112 protected:
113 IntRegIndex dest;
114 uint64_t imm;
115
116 RegImmOp(const char *mnem, ExtMachInst _machInst, OpClass __opClass,
117 IntRegIndex _dest, uint64_t _imm) :
118 PredOp(mnem, _machInst, __opClass), dest(_dest), imm(_imm)
119 {}
120
121 std::string generateDisassembly(Addr pc, const SymbolTable *symtab) const;
122};
123
110class RegRegOp : public PredOp
111{
112 protected:
113 IntRegIndex dest;
114 IntRegIndex op1;
115
116 RegRegOp(const char *mnem, ExtMachInst _machInst, OpClass __opClass,
117 IntRegIndex _dest, IntRegIndex _op1) :

--- 130 unchanged lines hidden ---
124class RegRegOp : public PredOp
125{
126 protected:
127 IntRegIndex dest;
128 IntRegIndex op1;
129
130 RegRegOp(const char *mnem, ExtMachInst _machInst, OpClass __opClass,
131 IntRegIndex _dest, IntRegIndex _op1) :

--- 130 unchanged lines hidden ---