amo.isa (12234:78ece221f9f5) amo.isa (12236:126ac9da6050)
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
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 %(BasicExecDeclare)s
152
153 %(EACompDeclare)s
154
155 %(InitiateAccDeclare)s
156
157 %(CompleteAccDeclare)s
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;
158 };
159
160 class %(class_name)sStore : public %(base_class)sMicro
161 {
162 public:
163 // Constructor
164 %(class_name)sStore(ExtMachInst machInst, %(class_name)s *_p);
165
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
166 %(BasicExecDeclare)s
167
168 %(EACompDeclare)s
169
170 %(InitiateAccDeclare)s
171
172 %(CompleteAccDeclare)s
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;
173 };
174 };
175}};
176
177def template LRSCConstructor {{
178 %(class_name)s::%(class_name)s(ExtMachInst machInst):
179 %(base_class)s("%(mnemonic)s", machInst, %(op_class)s)
180 {

--- 324 unchanged lines hidden ---
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 ---