misc.isa (7331:0897d3ccea91) | misc.isa (7332:2e611548bb5a) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2010 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 --- 104 unchanged lines hidden (view full) --- 113def template ImmOpConstructor {{ 114 inline %(class_name)s::%(class_name)s(ExtMachInst machInst, uint64_t _imm) 115 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, _imm) 116 { 117 %(constructor)s; 118 } 119}}; 120 | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2010 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 --- 104 unchanged lines hidden (view full) --- 113def template ImmOpConstructor {{ 114 inline %(class_name)s::%(class_name)s(ExtMachInst machInst, uint64_t _imm) 115 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, _imm) 116 { 117 %(constructor)s; 118 } 119}}; 120 |
121def template RegImmOpDeclare {{ 122class %(class_name)s : public %(base_class)s 123{ 124 protected: 125 public: 126 // Constructor 127 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest, uint64_t _imm); 128 %(BasicExecDeclare)s 129}; 130}}; 131 132def template RegImmOpConstructor {{ 133 inline %(class_name)s::%(class_name)s(ExtMachInst machInst, 134 IntRegIndex _dest, uint64_t _imm) 135 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, _dest, _imm) 136 { 137 %(constructor)s; 138 } 139}}; 140 |
|
121def template RegRegOpDeclare {{ 122class %(class_name)s : public %(base_class)s 123{ 124 protected: 125 public: 126 // Constructor 127 %(class_name)s(ExtMachInst machInst, 128 IntRegIndex _dest, IntRegIndex _op1); --- 190 unchanged lines hidden --- | 141def template RegRegOpDeclare {{ 142class %(class_name)s : public %(base_class)s 143{ 144 protected: 145 public: 146 // Constructor 147 %(class_name)s(ExtMachInst machInst, 148 IntRegIndex _dest, IntRegIndex _op1); --- 190 unchanged lines hidden --- |