data64.isa (10037:5cac77888310) data64.isa (10184:bbfa3152bdea)
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

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

44 // Constructor
45 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest,
46 IntRegIndex _op1, uint64_t _imm);
47 %(BasicExecDeclare)s
48};
49}};
50
51def template DataXImmConstructor {{
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

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

44 // Constructor
45 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest,
46 IntRegIndex _op1, uint64_t _imm);
47 %(BasicExecDeclare)s
48};
49}};
50
51def template DataXImmConstructor {{
52 inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
52 %(class_name)s::%(class_name)s(ExtMachInst machInst,
53 IntRegIndex _dest,
54 IntRegIndex _op1,
55 uint64_t _imm)
56 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
57 _dest, _op1, _imm)
58 {
59 %(constructor)s;
60 }

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

68 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest,
69 IntRegIndex _op1, IntRegIndex _op2,
70 int32_t _shiftAmt, ArmShiftType _shiftType);
71 %(BasicExecDeclare)s
72};
73}};
74
75def template DataXSRegConstructor {{
53 IntRegIndex _dest,
54 IntRegIndex _op1,
55 uint64_t _imm)
56 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
57 _dest, _op1, _imm)
58 {
59 %(constructor)s;
60 }

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

68 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest,
69 IntRegIndex _op1, IntRegIndex _op2,
70 int32_t _shiftAmt, ArmShiftType _shiftType);
71 %(BasicExecDeclare)s
72};
73}};
74
75def template DataXSRegConstructor {{
76 inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
76 %(class_name)s::%(class_name)s(ExtMachInst machInst,
77 IntRegIndex _dest,
78 IntRegIndex _op1,
79 IntRegIndex _op2,
80 int32_t _shiftAmt,
81 ArmShiftType _shiftType)
82 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
83 _dest, _op1, _op2, _shiftAmt, _shiftType)
84 {

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

94 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest,
95 IntRegIndex _op1, IntRegIndex _op2,
96 ArmExtendType _extendType, int32_t _shiftAmt);
97 %(BasicExecDeclare)s
98};
99}};
100
101def template DataXERegConstructor {{
77 IntRegIndex _dest,
78 IntRegIndex _op1,
79 IntRegIndex _op2,
80 int32_t _shiftAmt,
81 ArmShiftType _shiftType)
82 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
83 _dest, _op1, _op2, _shiftAmt, _shiftType)
84 {

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

94 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest,
95 IntRegIndex _op1, IntRegIndex _op2,
96 ArmExtendType _extendType, int32_t _shiftAmt);
97 %(BasicExecDeclare)s
98};
99}};
100
101def template DataXERegConstructor {{
102 inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
102 %(class_name)s::%(class_name)s(ExtMachInst machInst,
103 IntRegIndex _dest,
104 IntRegIndex _op1,
105 IntRegIndex _op2,
106 ArmExtendType _extendType,
107 int32_t _shiftAmt)
108 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
109 _dest, _op1, _op2, _extendType, _shiftAmt)
110 {

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

119 // Constructor
120 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest,
121 IntRegIndex _op1);
122 %(BasicExecDeclare)s
123};
124}};
125
126def template DataX1RegConstructor {{
103 IntRegIndex _dest,
104 IntRegIndex _op1,
105 IntRegIndex _op2,
106 ArmExtendType _extendType,
107 int32_t _shiftAmt)
108 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
109 _dest, _op1, _op2, _extendType, _shiftAmt)
110 {

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

119 // Constructor
120 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest,
121 IntRegIndex _op1);
122 %(BasicExecDeclare)s
123};
124}};
125
126def template DataX1RegConstructor {{
127 inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
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)
131 {
132 %(constructor)s;
133 }
134}};
135

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

140 // Constructor
141 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest,
142 IntRegIndex _op1, IntRegIndex _op2);
143 %(BasicExecDeclare)s
144};
145}};
146
147def template DataX2RegConstructor {{
128 IntRegIndex _dest,
129 IntRegIndex _op1)
130 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, _dest, _op1)
131 {
132 %(constructor)s;
133 }
134}};
135

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

140 // Constructor
141 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest,
142 IntRegIndex _op1, IntRegIndex _op2);
143 %(BasicExecDeclare)s
144};
145}};
146
147def template DataX2RegConstructor {{
148 inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
148 %(class_name)s::%(class_name)s(ExtMachInst machInst,
149 IntRegIndex _dest,
150 IntRegIndex _op1,
151 IntRegIndex _op2)
152 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
153 _dest, _op1, _op2)
154 {
155 %(constructor)s;
156 }

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

163 // Constructor
164 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest,
165 IntRegIndex _op1, IntRegIndex _op2, uint64_t _imm);
166 %(BasicExecDeclare)s
167};
168}};
169
170def template DataX2RegImmConstructor {{
149 IntRegIndex _dest,
150 IntRegIndex _op1,
151 IntRegIndex _op2)
152 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
153 _dest, _op1, _op2)
154 {
155 %(constructor)s;
156 }

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

163 // Constructor
164 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest,
165 IntRegIndex _op1, IntRegIndex _op2, uint64_t _imm);
166 %(BasicExecDeclare)s
167};
168}};
169
170def template DataX2RegImmConstructor {{
171 inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
171 %(class_name)s::%(class_name)s(ExtMachInst machInst,
172 IntRegIndex _dest,
173 IntRegIndex _op1,
174 IntRegIndex _op2,
175 uint64_t _imm)
176 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
177 _dest, _op1, _op2, _imm)
178 {
179 %(constructor)s;

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

187 // Constructor
188 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest,
189 IntRegIndex _op1, IntRegIndex _op2, IntRegIndex _op3);
190 %(BasicExecDeclare)s
191};
192}};
193
194def template DataX3RegConstructor {{
172 IntRegIndex _dest,
173 IntRegIndex _op1,
174 IntRegIndex _op2,
175 uint64_t _imm)
176 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
177 _dest, _op1, _op2, _imm)
178 {
179 %(constructor)s;

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

187 // Constructor
188 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest,
189 IntRegIndex _op1, IntRegIndex _op2, IntRegIndex _op3);
190 %(BasicExecDeclare)s
191};
192}};
193
194def template DataX3RegConstructor {{
195 inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
195 %(class_name)s::%(class_name)s(ExtMachInst machInst,
196 IntRegIndex _dest,
197 IntRegIndex _op1,
198 IntRegIndex _op2,
199 IntRegIndex _op3)
200 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
201 _dest, _op1, _op2, _op3)
202 {
203 %(constructor)s;

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

211 // Constructor
212 %(class_name)s(ExtMachInst machInst, IntRegIndex _op1,
213 uint64_t _imm, ConditionCode _condCode, uint8_t _defCc);
214 %(BasicExecDeclare)s
215};
216}};
217
218def template DataXCondCompImmConstructor {{
196 IntRegIndex _dest,
197 IntRegIndex _op1,
198 IntRegIndex _op2,
199 IntRegIndex _op3)
200 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
201 _dest, _op1, _op2, _op3)
202 {
203 %(constructor)s;

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

211 // Constructor
212 %(class_name)s(ExtMachInst machInst, IntRegIndex _op1,
213 uint64_t _imm, ConditionCode _condCode, uint8_t _defCc);
214 %(BasicExecDeclare)s
215};
216}};
217
218def template DataXCondCompImmConstructor {{
219 inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
219 %(class_name)s::%(class_name)s(ExtMachInst machInst,
220 IntRegIndex _op1,
221 uint64_t _imm,
222 ConditionCode _condCode,
223 uint8_t _defCc)
224 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
225 _op1, _imm, _condCode, _defCc)
226 {
227 %(constructor)s;

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

236 %(class_name)s(ExtMachInst machInst, IntRegIndex _op1,
237 IntRegIndex _op2, ConditionCode _condCode,
238 uint8_t _defCc);
239 %(BasicExecDeclare)s
240};
241}};
242
243def template DataXCondCompRegConstructor {{
220 IntRegIndex _op1,
221 uint64_t _imm,
222 ConditionCode _condCode,
223 uint8_t _defCc)
224 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
225 _op1, _imm, _condCode, _defCc)
226 {
227 %(constructor)s;

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

236 %(class_name)s(ExtMachInst machInst, IntRegIndex _op1,
237 IntRegIndex _op2, ConditionCode _condCode,
238 uint8_t _defCc);
239 %(BasicExecDeclare)s
240};
241}};
242
243def template DataXCondCompRegConstructor {{
244 inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
244 %(class_name)s::%(class_name)s(ExtMachInst machInst,
245 IntRegIndex _op1,
246 IntRegIndex _op2,
247 ConditionCode _condCode,
248 uint8_t _defCc)
249 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
250 _op1, _op2, _condCode, _defCc)
251 {
252 %(constructor)s;

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

261 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest,
262 IntRegIndex _op1, IntRegIndex _op2,
263 ConditionCode _condCode);
264 %(BasicExecDeclare)s
265};
266}};
267
268def template DataXCondSelConstructor {{
245 IntRegIndex _op1,
246 IntRegIndex _op2,
247 ConditionCode _condCode,
248 uint8_t _defCc)
249 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
250 _op1, _op2, _condCode, _defCc)
251 {
252 %(constructor)s;

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

261 %(class_name)s(ExtMachInst machInst, IntRegIndex _dest,
262 IntRegIndex _op1, IntRegIndex _op2,
263 ConditionCode _condCode);
264 %(BasicExecDeclare)s
265};
266}};
267
268def template DataXCondSelConstructor {{
269 inline %(class_name)s::%(class_name)s(ExtMachInst machInst,
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}};
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}};