mem64.isa (12236:126ac9da6050) mem64.isa (12359:8fb4630c444f)
1// -*- mode:c++ -*-
2
1// -*- mode:c++ -*-
2
3// Copyright (c) 2011-2014 ARM Limited
3// Copyright (c) 2011-2014, 2017 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
9// to a hardware implementation of the functionality of the software
10// licensed hereunder. You may use the software subject to the license
11// terms below provided that you ensure that this notice is replicated

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

251}};
252
253def template DCStore64Declare {{
254 class %(class_name)s : public %(base_class)s
255 {
256 public:
257
258 /// Constructor.
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
9// to a hardware implementation of the functionality of the software
10// licensed hereunder. You may use the software subject to the license
11// terms below provided that you ensure that this notice is replicated

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

251}};
252
253def template DCStore64Declare {{
254 class %(class_name)s : public %(base_class)s
255 {
256 public:
257
258 /// Constructor.
259 %(class_name)s(ExtMachInst machInst, IntRegIndex _base, IntRegIndex _dest, uint64_t _imm);
259 %(class_name)s(ExtMachInst machInst, IntRegIndex _base,
260 MiscRegIndex _dest, uint64_t _imm);
260
261 Fault execute(ExecContext *, Trace::InstRecord *) const;
262 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const;
263 Fault completeAcc(PacketPtr, ExecContext *, Trace::InstRecord *) const;
264
265 virtual void
266 annotateFault(ArmFault *fault) {
267 %(fa_code)s
268 }
269 };
270}};
271
272def template DCStore64Constructor {{
261
262 Fault execute(ExecContext *, Trace::InstRecord *) const;
263 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const;
264 Fault completeAcc(PacketPtr, ExecContext *, Trace::InstRecord *) const;
265
266 virtual void
267 annotateFault(ArmFault *fault) {
268 %(fa_code)s
269 }
270 };
271}};
272
273def template DCStore64Constructor {{
273 %(class_name)s::%(class_name)s(ExtMachInst machInst, IntRegIndex _base, IntRegIndex _dest, uint64_t _imm)
274 %(class_name)s::%(class_name)s(ExtMachInst machInst, IntRegIndex _base,
275 MiscRegIndex _dest, uint64_t _imm)
274 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
276 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s,
275 (IntRegIndex)_base, _dest, _imm)
277 _base, _dest, _imm)
276 {
277 %(constructor)s;
278 assert(!%(use_uops)d);
279 }
280}};
281
282def template DCStore64Execute {{
283 Fault %(class_name)s::execute(ExecContext *xc,

--- 401 unchanged lines hidden ---
278 {
279 %(constructor)s;
280 assert(!%(use_uops)d);
281 }
282}};
283
284def template DCStore64Execute {{
285 Fault %(class_name)s::execute(ExecContext *xc,

--- 401 unchanged lines hidden ---