diff options
Diffstat (limited to 'src/arch/arm/isa/templates/mem64.isa')
-rw-r--r-- | src/arch/arm/isa/templates/mem64.isa | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/arch/arm/isa/templates/mem64.isa b/src/arch/arm/isa/templates/mem64.isa index ff4114898..a44a3cd25 100644 --- a/src/arch/arm/isa/templates/mem64.isa +++ b/src/arch/arm/isa/templates/mem64.isa @@ -1,6 +1,6 @@ // -*- mode:c++ -*- -// Copyright (c) 2011-2014 ARM Limited +// Copyright (c) 2011-2014, 2017 ARM Limited // All rights reserved // // The license below extends only to copyright in the software and shall @@ -256,7 +256,8 @@ def template DCStore64Declare {{ public: /// Constructor. - %(class_name)s(ExtMachInst machInst, IntRegIndex _base, IntRegIndex _dest, uint64_t _imm); + %(class_name)s(ExtMachInst machInst, IntRegIndex _base, + MiscRegIndex _dest, uint64_t _imm); Fault execute(ExecContext *, Trace::InstRecord *) const; Fault initiateAcc(ExecContext *, Trace::InstRecord *) const; @@ -270,9 +271,10 @@ def template DCStore64Declare {{ }}; def template DCStore64Constructor {{ - %(class_name)s::%(class_name)s(ExtMachInst machInst, IntRegIndex _base, IntRegIndex _dest, uint64_t _imm) + %(class_name)s::%(class_name)s(ExtMachInst machInst, IntRegIndex _base, + MiscRegIndex _dest, uint64_t _imm) : %(base_class)s("%(mnemonic)s", machInst, %(op_class)s, - (IntRegIndex)_base, _dest, _imm) + _base, _dest, _imm) { %(constructor)s; assert(!%(use_uops)d); |