vfp.isa (11671:520509f3e66c) | vfp.isa (12236:126ac9da6050) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2010-2013, 2016 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 --- 91 unchanged lines hidden (view full) --- 100def template FpRegRegOpDeclare {{ 101class %(class_name)s : public %(base_class)s 102{ 103 public: 104 // Constructor 105 %(class_name)s(ExtMachInst machInst, 106 IntRegIndex _dest, IntRegIndex _op1, 107 VfpMicroMode mode = VfpNotAMicroop); | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2010-2013, 2016 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 --- 91 unchanged lines hidden (view full) --- 100def template FpRegRegOpDeclare {{ 101class %(class_name)s : public %(base_class)s 102{ 103 public: 104 // Constructor 105 %(class_name)s(ExtMachInst machInst, 106 IntRegIndex _dest, IntRegIndex _op1, 107 VfpMicroMode mode = VfpNotAMicroop); |
108 %(BasicExecDeclare)s | 108 Fault execute(ExecContext *, Trace::InstRecord *) const; |
109}; 110}}; 111 112def template FpRegRegOpConstructor {{ 113 %(class_name)s::%(class_name)s(ExtMachInst machInst, 114 IntRegIndex _dest, IntRegIndex _op1, 115 VfpMicroMode mode) 116 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, --- 10 unchanged lines hidden (view full) --- 127 128def template FpRegImmOpDeclare {{ 129class %(class_name)s : public %(base_class)s 130{ 131 public: 132 // Constructor 133 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest, 134 uint64_t _imm, VfpMicroMode mode = VfpNotAMicroop); | 109}; 110}}; 111 112def template FpRegRegOpConstructor {{ 113 %(class_name)s::%(class_name)s(ExtMachInst machInst, 114 IntRegIndex _dest, IntRegIndex _op1, 115 VfpMicroMode mode) 116 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, --- 10 unchanged lines hidden (view full) --- 127 128def template FpRegImmOpDeclare {{ 129class %(class_name)s : public %(base_class)s 130{ 131 public: 132 // Constructor 133 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest, 134 uint64_t _imm, VfpMicroMode mode = VfpNotAMicroop); |
135 %(BasicExecDeclare)s | 135 Fault execute(ExecContext *, Trace::InstRecord *) const; |
136}; 137}}; 138 139def template FpRegImmOpConstructor {{ 140 %(class_name)s::%(class_name)s(ExtMachInst machInst, 141 IntRegIndex _dest, uint64_t _imm, VfpMicroMode mode) 142 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, 143 _dest, _imm, mode) --- 10 unchanged lines hidden (view full) --- 154def template FpRegRegImmOpDeclare {{ 155class %(class_name)s : public %(base_class)s 156{ 157 public: 158 // Constructor 159 %(class_name)s(ExtMachInst machInst, 160 IntRegIndex _dest, IntRegIndex _op1, 161 uint64_t _imm, VfpMicroMode mode = VfpNotAMicroop); | 136}; 137}}; 138 139def template FpRegImmOpConstructor {{ 140 %(class_name)s::%(class_name)s(ExtMachInst machInst, 141 IntRegIndex _dest, uint64_t _imm, VfpMicroMode mode) 142 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, 143 _dest, _imm, mode) --- 10 unchanged lines hidden (view full) --- 154def template FpRegRegImmOpDeclare {{ 155class %(class_name)s : public %(base_class)s 156{ 157 public: 158 // Constructor 159 %(class_name)s(ExtMachInst machInst, 160 IntRegIndex _dest, IntRegIndex _op1, 161 uint64_t _imm, VfpMicroMode mode = VfpNotAMicroop); |
162 %(BasicExecDeclare)s | 162 Fault execute(ExecContext *, Trace::InstRecord *) const; |
163}; 164}}; 165 166def template FpRegRegImmOpConstructor {{ 167 %(class_name)s::%(class_name)s(ExtMachInst machInst, 168 IntRegIndex _dest, 169 IntRegIndex _op1, 170 uint64_t _imm, --- 13 unchanged lines hidden (view full) --- 184def template FpRegRegRegOpDeclare {{ 185class %(class_name)s : public %(base_class)s 186{ 187 public: 188 // Constructor 189 %(class_name)s(ExtMachInst machInst, 190 IntRegIndex _dest, IntRegIndex _op1, IntRegIndex _op2, 191 VfpMicroMode mode = VfpNotAMicroop); | 163}; 164}}; 165 166def template FpRegRegImmOpConstructor {{ 167 %(class_name)s::%(class_name)s(ExtMachInst machInst, 168 IntRegIndex _dest, 169 IntRegIndex _op1, 170 uint64_t _imm, --- 13 unchanged lines hidden (view full) --- 184def template FpRegRegRegOpDeclare {{ 185class %(class_name)s : public %(base_class)s 186{ 187 public: 188 // Constructor 189 %(class_name)s(ExtMachInst machInst, 190 IntRegIndex _dest, IntRegIndex _op1, IntRegIndex _op2, 191 VfpMicroMode mode = VfpNotAMicroop); |
192 %(BasicExecDeclare)s | 192 Fault execute(ExecContext *, Trace::InstRecord *) const; |
193}; 194}}; 195 196def template FpRegRegRegOpConstructor {{ 197 %(class_name)s::%(class_name)s(ExtMachInst machInst, 198 IntRegIndex _dest, 199 IntRegIndex _op1, 200 IntRegIndex _op2, --- 14 unchanged lines hidden (view full) --- 215class %(class_name)s : public %(base_class)s 216{ 217 public: 218 // Constructor 219 %(class_name)s(ExtMachInst machInst, 220 IntRegIndex _dest, IntRegIndex _op1, IntRegIndex _op2, 221 ConditionCode _cond, 222 VfpMicroMode mode = VfpNotAMicroop); | 193}; 194}}; 195 196def template FpRegRegRegOpConstructor {{ 197 %(class_name)s::%(class_name)s(ExtMachInst machInst, 198 IntRegIndex _dest, 199 IntRegIndex _op1, 200 IntRegIndex _op2, --- 14 unchanged lines hidden (view full) --- 215class %(class_name)s : public %(base_class)s 216{ 217 public: 218 // Constructor 219 %(class_name)s(ExtMachInst machInst, 220 IntRegIndex _dest, IntRegIndex _op1, IntRegIndex _op2, 221 ConditionCode _cond, 222 VfpMicroMode mode = VfpNotAMicroop); |
223 %(BasicExecDeclare)s | 223 Fault execute(ExecContext *, Trace::InstRecord *) const; |
224}; 225}}; 226 227def template FpRegRegRegCondOpConstructor {{ 228 %(class_name)s::%(class_name)s(ExtMachInst machInst, 229 IntRegIndex _dest, 230 IntRegIndex _op1, 231 IntRegIndex _op2, 232 ConditionCode _cond, 233 VfpMicroMode mode) 234 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, 235 _dest, _op1, _op2, _cond, mode) 236 { 237 %(constructor)s; 238 } 239}}; | 224}; 225}}; 226 227def template FpRegRegRegCondOpConstructor {{ 228 %(class_name)s::%(class_name)s(ExtMachInst machInst, 229 IntRegIndex _dest, 230 IntRegIndex _op1, 231 IntRegIndex _op2, 232 ConditionCode _cond, 233 VfpMicroMode mode) 234 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, 235 _dest, _op1, _op2, _cond, mode) 236 { 237 %(constructor)s; 238 } 239}}; |