1// -*- mode:c++ -*- 2 3// Copyright (c) 2011 ARM Limited 4// All rights reserved 5// 6// The license below extends only to copyright in the software and shall 7// not be construed as granting a license to any other intellectual 8// property including but not limited to intellectual property relating --- 30 unchanged lines hidden (view full) --- 39 40def template DataXImmDeclare {{ 41class %(class_name)s : public %(base_class)s 42{ 43 public: 44 // Constructor 45 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest, 46 IntRegIndex _op1, uint64_t _imm); |
47 Fault execute(ExecContext *, Trace::InstRecord *) const override; |
48}; 49}}; 50 51def template DataXImmConstructor {{ 52 %(class_name)s::%(class_name)s(ExtMachInst machInst, 53 IntRegIndex _dest, 54 IntRegIndex _op1, 55 uint64_t _imm) --- 7 unchanged lines hidden (view full) --- 63def template DataXSRegDeclare {{ 64class %(class_name)s : public %(base_class)s 65{ 66 public: 67 // Constructor 68 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest, 69 IntRegIndex _op1, IntRegIndex _op2, 70 int32_t _shiftAmt, ArmShiftType _shiftType); |
71 Fault execute(ExecContext *, Trace::InstRecord *) const override; |
72}; 73}}; 74 75def template DataXSRegConstructor {{ 76 %(class_name)s::%(class_name)s(ExtMachInst machInst, 77 IntRegIndex _dest, 78 IntRegIndex _op1, 79 IntRegIndex _op2, --- 9 unchanged lines hidden (view full) --- 89def template DataXERegDeclare {{ 90class %(class_name)s : public %(base_class)s 91{ 92 public: 93 // Constructor 94 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest, 95 IntRegIndex _op1, IntRegIndex _op2, 96 ArmExtendType _extendType, int32_t _shiftAmt); |
97 Fault execute(ExecContext *, Trace::InstRecord *) const override; |
98}; 99}}; 100 101def template DataXERegConstructor {{ 102 %(class_name)s::%(class_name)s(ExtMachInst machInst, 103 IntRegIndex _dest, 104 IntRegIndex _op1, 105 IntRegIndex _op2, --- 8 unchanged lines hidden (view full) --- 114 115def template DataX1RegDeclare {{ 116class %(class_name)s : public %(base_class)s 117{ 118 public: 119 // Constructor 120 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest, 121 IntRegIndex _op1); |
122 Fault execute(ExecContext *, Trace::InstRecord *) const override; |
123}; 124}}; 125 126def template DataX1RegConstructor {{ 127 %(class_name)s::%(class_name)s(ExtMachInst machInst, 128 IntRegIndex _dest, 129 IntRegIndex _op1) 130 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, _dest, _op1) --- 4 unchanged lines hidden (view full) --- 135 136def template DataX2RegDeclare {{ 137class %(class_name)s : public %(base_class)s 138{ 139 public: 140 // Constructor 141 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest, 142 IntRegIndex _op1, IntRegIndex _op2); |
143 Fault execute(ExecContext *, Trace::InstRecord *) const override; |
144}; 145}}; 146 147def template DataX2RegConstructor {{ 148 %(class_name)s::%(class_name)s(ExtMachInst machInst, 149 IntRegIndex _dest, 150 IntRegIndex _op1, 151 IntRegIndex _op2) --- 6 unchanged lines hidden (view full) --- 158 159def template DataX2RegImmDeclare {{ 160class %(class_name)s : public %(base_class)s 161{ 162 public: 163 // Constructor 164 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest, 165 IntRegIndex _op1, IntRegIndex _op2, uint64_t _imm); |
166 Fault execute(ExecContext *, Trace::InstRecord *) const override; |
167}; 168}}; 169 170def template DataX2RegImmConstructor {{ 171 %(class_name)s::%(class_name)s(ExtMachInst machInst, 172 IntRegIndex _dest, 173 IntRegIndex _op1, 174 IntRegIndex _op2, --- 7 unchanged lines hidden (view full) --- 182 183def template DataX3RegDeclare {{ 184class %(class_name)s : public %(base_class)s 185{ 186 public: 187 // Constructor 188 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest, 189 IntRegIndex _op1, IntRegIndex _op2, IntRegIndex _op3); |
190 Fault execute(ExecContext *, Trace::InstRecord *) const override; |
191}; 192}}; 193 194def template DataX3RegConstructor {{ 195 %(class_name)s::%(class_name)s(ExtMachInst machInst, 196 IntRegIndex _dest, 197 IntRegIndex _op1, 198 IntRegIndex _op2, --- 7 unchanged lines hidden (view full) --- 206 207def template DataXCondCompImmDeclare {{ 208class %(class_name)s : public %(base_class)s 209{ 210 public: 211 // Constructor 212 %(class_name)s(ExtMachInst machInst, IntRegIndex _op1, 213 uint64_t _imm, ConditionCode _condCode, uint8_t _defCc); |
214 Fault execute(ExecContext *, Trace::InstRecord *) const override; |
215}; 216}}; 217 218def template DataXCondCompImmConstructor {{ 219 %(class_name)s::%(class_name)s(ExtMachInst machInst, 220 IntRegIndex _op1, 221 uint64_t _imm, 222 ConditionCode _condCode, --- 8 unchanged lines hidden (view full) --- 231def template DataXCondCompRegDeclare {{ 232class %(class_name)s : public %(base_class)s 233{ 234 public: 235 // Constructor 236 %(class_name)s(ExtMachInst machInst, IntRegIndex _op1, 237 IntRegIndex _op2, ConditionCode _condCode, 238 uint8_t _defCc); |
239 Fault execute(ExecContext *, Trace::InstRecord *) const override; |
240}; 241}}; 242 243def template DataXCondCompRegConstructor {{ 244 %(class_name)s::%(class_name)s(ExtMachInst machInst, 245 IntRegIndex _op1, 246 IntRegIndex _op2, 247 ConditionCode _condCode, --- 8 unchanged lines hidden (view full) --- 256def template DataXCondSelDeclare {{ 257class %(class_name)s : public %(base_class)s 258{ 259 public: 260 // Constructor 261 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest, 262 IntRegIndex _op1, IntRegIndex _op2, 263 ConditionCode _condCode); |
264 Fault execute(ExecContext *, Trace::InstRecord *) const override; |
265}; 266}}; 267 268def template DataXCondSelConstructor {{ 269 %(class_name)s::%(class_name)s(ExtMachInst machInst, 270 IntRegIndex _dest, 271 IntRegIndex _op1, 272 IntRegIndex _op2, 273 ConditionCode _condCode) 274 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, 275 _dest, _op1, _op2, _condCode) 276 { 277 %(constructor)s; 278 } 279}}; |