1// -*- mode:c++ -*- 2 |
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. |
259 %(class_name)s(ExtMachInst machInst, IntRegIndex _base, 260 MiscRegIndex _dest, uint64_t _imm); |
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 {{ |
274 %(class_name)s::%(class_name)s(ExtMachInst machInst, IntRegIndex _base, 275 MiscRegIndex _dest, uint64_t _imm) |
276 : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, |
277 _base, _dest, _imm) |
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 --- |