1// -*- mode:c++ -*- 2 3// Copyright (c) 2015 Riscv Developers 4// Copyright (c) 2016 The University of Virginia 5// All rights reserved. 6// 7// Redistribution and use in source and binary forms, with or without 8// modification, are permitted provided that the following conditions are --- 134 unchanged lines hidden (view full) --- 143 protected: 144 145 class %(class_name)sLoad : public %(base_class)sMicro 146 { 147 public: 148 // Constructor 149 %(class_name)sLoad(ExtMachInst machInst, %(class_name)s *_p); 150 |
151 Fault execute(ExecContext *, Trace::InstRecord *) const; 152 Fault eaComp(ExecContext *, Trace::InstRecord *) const; 153 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const; 154 Fault completeAcc(PacketPtr, ExecContext *, 155 Trace::InstRecord *) const; |
156 }; 157 158 class %(class_name)sStore : public %(base_class)sMicro 159 { 160 public: 161 // Constructor 162 %(class_name)sStore(ExtMachInst machInst, %(class_name)s *_p); 163 |
164 Fault execute(ExecContext *, Trace::InstRecord *) const; 165 Fault eaComp(ExecContext *, Trace::InstRecord *) const; 166 Fault initiateAcc(ExecContext *, Trace::InstRecord *) const; 167 Fault completeAcc(PacketPtr, ExecContext *, 168 Trace::InstRecord *) const; |
169 }; 170 }; 171}}; 172 173def template LRSCConstructor {{ 174 %(class_name)s::%(class_name)s(ExtMachInst machInst): 175 %(base_class)s("%(mnemonic)s", machInst, %(op_class)s) 176 { --- 324 unchanged lines hidden --- |