gem5  v20.1.0.0
sve_macromem.hh
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018 ARM Limited
3  * All rights reserved
4  *
5  * The license below extends only to copyright in the software and shall
6  * not be construed as granting a license to any other intellectual
7  * property including but not limited to intellectual property relating
8  * to a hardware implementation of the functionality of the software
9  * licensed hereunder. You may use the software subject to the license
10  * terms below provided that you ensure that this notice is replicated
11  * unmodified and in its entirety in all distributions of the software,
12  * modified or unmodified, in source code or in binary form.
13  *
14  * Redistribution and use in source and binary forms, with or without
15  * modification, are permitted provided that the following conditions are
16  * met: redistributions of source code must retain the above copyright
17  * notice, this list of conditions and the following disclaimer;
18  * redistributions in binary form must reproduce the above copyright
19  * notice, this list of conditions and the following disclaimer in the
20  * documentation and/or other materials provided with the distribution;
21  * neither the name of the copyright holders nor the names of its
22  * contributors may be used to endorse or promote products derived from
23  * this software without specific prior written permission.
24  *
25  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
26  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
27  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
28  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
29  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
30  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
31  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
32  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
33  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
35  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36  */
37 
38 #ifndef __ARCH_ARM_SVE_MACROMEM_HH__
39 #define __ARCH_ARM_SVE_MACROMEM_HH__
40 
41 #include "arch/arm/generated/decoder.hh"
43 
44 namespace ArmISA {
45 
46 template <typename Element,
47  template <typename> class MicroopLdMemType,
48  template <typename> class MicroopDeIntrlvType>
49 class SveLdStructSS : public PredMacroOp
50 {
51  protected:
56  uint8_t numregs;
57 
58  public:
59  SveLdStructSS(const char* mnem, ExtMachInst machInst, OpClass __opClass,
60  IntRegIndex _dest, IntRegIndex _gp, IntRegIndex _base,
61  IntRegIndex _offset, uint8_t _numregs)
62  : PredMacroOp(mnem, machInst, __opClass),
63  dest(_dest), gp(_gp), base(_base), offset(_offset), numregs(_numregs)
64  {
65  numMicroops = numregs * 2;
66 
68 
69  for (int i = 0; i < numregs; ++i) {
70  microOps[i] = new MicroopLdMemType<Element>(
71  mnem, machInst, static_cast<IntRegIndex>(INTRLVREG0 + i),
72  _gp, _base, _offset, _numregs, i);
73  }
74  for (int i = 0; i < numregs; ++i) {
75  microOps[i + numregs] = new MicroopDeIntrlvType<Element>(
76  mnem, machInst, static_cast<IntRegIndex>((_dest + i) % 32),
77  _numregs, i, this);
78  }
79 
82 
83  for (StaticInstPtr *uop = microOps; !(*uop)->isLastMicroop(); uop++) {
84  (*uop)->setDelayedCommit();
85  }
86  }
87 
88  Fault
89  execute(ExecContext *, Trace::InstRecord *) const override
90  {
91  panic("Execute method called when it shouldn't!");
92  return NoFault;
93  }
94 
95  std::string
97  const Loader::SymbolTable *symtab) const override
98  {
99  std::stringstream ss;
100  printMnemonic(ss, "", false);
101  ccprintf(ss, "{");
102  for (int i = 0; i < numregs; ++i) {
103  printVecReg(ss, (dest + i) % 32, true);
104  if (i < numregs - 1)
105  ccprintf(ss, ", ");
106  }
107  ccprintf(ss, "}, ");
109  ccprintf(ss, "/z, [");
110  printIntReg(ss, base);
111  ccprintf(ss, ", ");
113  ccprintf(ss, "]");
114  return ss.str();
115  }
116 };
117 
118 template <typename Element,
119  template <typename> class MicroopStMemType,
120  template <typename> class MicroopIntrlvType>
122 {
123  protected:
128  uint8_t numregs;
129 
130  public:
131  SveStStructSS(const char* mnem, ExtMachInst machInst, OpClass __opClass,
132  IntRegIndex _dest, IntRegIndex _gp, IntRegIndex _base,
133  IntRegIndex _offset, uint8_t _numregs)
134  : PredMacroOp(mnem, machInst, __opClass),
135  dest(_dest), gp(_gp), base(_base), offset(_offset), numregs(_numregs)
136  {
137  numMicroops = numregs * 2;
138 
140 
141  for (int i = 0; i < numregs; ++i) {
142  microOps[i] = new MicroopIntrlvType<Element>(
143  mnem, machInst, static_cast<IntRegIndex>(INTRLVREG0 + i),
144  _dest, _numregs, i, this);
145  }
146 
147  for (int i = 0; i < numregs; ++i) {
148  microOps[i + numregs] = new MicroopStMemType<Element>(
149  mnem, machInst, static_cast<IntRegIndex>(INTRLVREG0 + i),
150  _gp, _base, _offset, _numregs, i);
151  }
152 
155 
156  for (StaticInstPtr *uop = microOps; !(*uop)->isLastMicroop(); uop++) {
157  (*uop)->setDelayedCommit();
158  }
159  }
160 
161  Fault
162  execute(ExecContext *, Trace::InstRecord *) const override
163  {
164  panic("Execute method called when it shouldn't!");
165  return NoFault;
166  }
167 
168  std::string
170  const Loader::SymbolTable *symtab) const override
171  {
172  std::stringstream ss;
173  printMnemonic(ss, "", false);
174  ccprintf(ss, "{");
175  for (int i = 0; i < numregs; ++i) {
176  printVecReg(ss, (dest + i) % 32, true);
177  if (i < numregs - 1)
178  ccprintf(ss, ", ");
179  }
180  ccprintf(ss, "}, ");
182  ccprintf(ss, ", [");
183  printIntReg(ss, base);
184  ccprintf(ss, ", ");
186  ccprintf(ss, "]");
187  return ss.str();
188  }
189 };
190 
191 
192 template <typename Element,
193  template <typename> class MicroopLdMemType,
194  template <typename> class MicroopDeIntrlvType>
196 {
197  protected:
201  int64_t imm;
202  uint8_t numregs;
203 
204  public:
205  SveLdStructSI(const char* mnem, ExtMachInst machInst, OpClass __opClass,
206  IntRegIndex _dest, IntRegIndex _gp, IntRegIndex _base,
207  int64_t _imm, uint8_t _numregs)
208  : PredMacroOp(mnem, machInst, __opClass),
209  dest(_dest), gp(_gp), base(_base), imm(_imm), numregs(_numregs)
210  {
211  numMicroops = numregs * 2;
212 
214 
215  for (int i = 0; i < numregs; ++i) {
216  microOps[i] = new MicroopLdMemType<Element>(
217  mnem, machInst, static_cast<IntRegIndex>(INTRLVREG0 + i),
218  _gp, _base, _imm, _numregs, i);
219  }
220  for (int i = 0; i < numregs; ++i) {
221  microOps[i + numregs] = new MicroopDeIntrlvType<Element>(
222  mnem, machInst, static_cast<IntRegIndex>((_dest + i) % 32),
223  _numregs, i, this);
224  }
225 
228 
229  for (StaticInstPtr *uop = microOps; !(*uop)->isLastMicroop(); uop++) {
230  (*uop)->setDelayedCommit();
231  }
232  }
233 
234  Fault
235  execute(ExecContext *, Trace::InstRecord *) const override
236  {
237  panic("Execute method called when it shouldn't!");
238  return NoFault;
239  }
240 
241  std::string
243  const Loader::SymbolTable *symtab) const override
244  {
245  std::stringstream ss;
246  printMnemonic(ss, "", false);
247  ccprintf(ss, "{");
248  for (int i = 0; i < numregs; ++i) {
249  printVecReg(ss, (dest + i) % 32, true);
250  if (i < numregs - 1)
251  ccprintf(ss, ", ");
252  }
253  ccprintf(ss, "}, ");
255  ccprintf(ss, "/z, [");
256  printIntReg(ss, base);
257  if (imm != 0) {
258  ccprintf(ss, ", #%d, MUL VL", imm);
259  }
260  ccprintf(ss, "]");
261  return ss.str();
262  }
263 };
264 
265 template <typename Element,
266  template <typename> class MicroopStMemType,
267  template <typename> class MicroopIntrlvType>
269 {
270  protected:
274  int64_t imm;
275  uint8_t numregs;
276 
277  public:
278  SveStStructSI(const char* mnem, ExtMachInst machInst, OpClass __opClass,
279  IntRegIndex _dest, IntRegIndex _gp, IntRegIndex _base,
280  int64_t _imm, uint8_t _numregs)
281  : PredMacroOp(mnem, machInst, __opClass),
282  dest(_dest), gp(_gp), base(_base), imm(_imm), numregs(_numregs)
283  {
284  numMicroops = numregs * 2;
285 
287 
288  for (int i = 0; i < numregs; ++i) {
289  microOps[i] = new MicroopIntrlvType<Element>(
290  mnem, machInst, static_cast<IntRegIndex>(INTRLVREG0 + i),
291  _dest, _numregs, i, this);
292  }
293 
294  for (int i = 0; i < numregs; ++i) {
295  microOps[i + numregs] = new MicroopStMemType<Element>(
296  mnem, machInst, static_cast<IntRegIndex>(INTRLVREG0 + i),
297  _gp, _base, _imm, _numregs, i);
298  }
299 
302 
303  for (StaticInstPtr *uop = microOps; !(*uop)->isLastMicroop(); uop++) {
304  (*uop)->setDelayedCommit();
305  }
306  }
307 
308  Fault
309  execute(ExecContext *, Trace::InstRecord *) const override
310  {
311  panic("Execute method called when it shouldn't!");
312  return NoFault;
313  }
314 
315  std::string
317  const Loader::SymbolTable *symtab) const override
318  {
319  std::stringstream ss;
320  printMnemonic(ss, "", false);
321  ccprintf(ss, "{");
322  for (int i = 0; i < numregs; ++i) {
323  printVecReg(ss, (dest + i) % 32, true);
324  if (i < numregs - 1)
325  ccprintf(ss, ", ");
326  }
327  ccprintf(ss, "}, ");
329  ccprintf(ss, ", [");
330  printIntReg(ss, base);
331  if (imm != 0) {
332  ccprintf(ss, ", #%d, MUL VL", imm);
333  }
334  ccprintf(ss, "]");
335  return ss.str();
336  }
337 };
338 
339 template <typename RegElemType, typename MemElemType,
340  template <typename, typename> class MicroopType,
341  template <typename> class FirstFaultWritebackMicroopType>
343 {
344  protected:
348  uint64_t imm;
349 
350  public:
351  SveIndexedMemVI(const char *mnem, ExtMachInst machInst, OpClass __opClass,
352  IntRegIndex _dest, IntRegIndex _gp, IntRegIndex _base,
353  uint64_t _imm, bool firstFault)
354  : PredMacroOp(mnem, machInst, __opClass),
355  dest(_dest), gp(_gp), base(_base), imm(_imm)
356  {
357  bool isLoad = (__opClass == MemReadOp);
358  assert(!firstFault || isLoad);
359 
360  int num_elems = ((machInst.sveLen + 1) * 16) / sizeof(RegElemType);
361 
362  numMicroops = num_elems;
363  if (isLoad) {
364  if (firstFault) {
365  numMicroops += 2;
366  } else {
367  numMicroops++;
368  }
369  }
370 
372 
373  StaticInstPtr *uop = microOps;
374 
375  if (isLoad) {
376  // The first microop of a gather load copies the source vector
377  // register used for address calculation to an auxiliary register,
378  // with all subsequent microops reading from the latter. This is
379  // needed to properly handle cases where the source vector
380  // register is the same as the destination register
381  *uop = new ArmISAInst::SveGatherLoadCpySrcVecMicroop(
382  mnem, machInst, _base, this);
383  uop++;
384  }
385 
386  for (int i = 0; i < num_elems; i++, uop++) {
387  *uop = new MicroopType<RegElemType, MemElemType>(
388  mnem, machInst, __opClass, _dest, _gp,
389  isLoad ? (IntRegIndex) VECREG_UREG0 : _base, _imm, i,
390  num_elems, firstFault);
391  }
392 
393  if (firstFault) {
394  *uop = new FirstFaultWritebackMicroopType<RegElemType>(
395  mnem, machInst, __opClass, num_elems, this);
396  } else {
397  --uop;
398  }
399 
400  (*uop)->setLastMicroop();
402 
403  for (StaticInstPtr *uop = microOps; !(*uop)->isLastMicroop(); uop++) {
404  (*uop)->setDelayedCommit();
405  }
406  }
407 
408  Fault
409  execute(ExecContext *, Trace::InstRecord *) const override
410  {
411  panic("Execute method called when it shouldn't!");
412  return NoFault;
413  }
414 
415  std::string
417  const Loader::SymbolTable *symtab) const override
418  {
419  // TODO: add suffix to transfer and base registers
420  std::stringstream ss;
421  printMnemonic(ss, "", false);
422  ccprintf(ss, "{");
423  printVecReg(ss, dest, true);
424  ccprintf(ss, "}, ");
426  ccprintf(ss, "/z, [");
427  printVecReg(ss, base, true);
428  if (imm != 0) {
429  ccprintf(ss, ", #%d", imm * sizeof(MemElemType));
430  }
431  ccprintf(ss, "]");
432  return ss.str();
433  }
434 };
435 
436 template <typename RegElemType, typename MemElemType,
437  template <typename, typename> class MicroopType,
438  template <typename> class FirstFaultWritebackMicroopType>
440 {
441  protected:
446 
450 
451  public:
452  SveIndexedMemSV(const char *mnem, ExtMachInst machInst, OpClass __opClass,
453  IntRegIndex _dest, IntRegIndex _gp, IntRegIndex _base,
454  IntRegIndex _offset, bool _offsetIs32,
455  bool _offsetIsSigned, bool _offsetIsScaled,
456  bool firstFault)
457  : PredMacroOp(mnem, machInst, __opClass),
458  dest(_dest), gp(_gp), base(_base), offset(_offset),
459  offsetIs32(_offsetIs32), offsetIsSigned(_offsetIsSigned),
460  offsetIsScaled(_offsetIsScaled)
461  {
462  bool isLoad = (__opClass == MemReadOp);
463  assert(!firstFault || isLoad);
464 
465  int num_elems = ((machInst.sveLen + 1) * 16) / sizeof(RegElemType);
466 
467  numMicroops = num_elems;
468  if (isLoad) {
469  if (firstFault) {
470  numMicroops += 2;
471  } else {
472  numMicroops++;
473  }
474  }
475 
477 
478  StaticInstPtr *uop = microOps;
479 
480  if (isLoad) {
481  // The first microop of a gather load copies the source vector
482  // register used for address calculation to an auxiliary register,
483  // with all subsequent microops reading from the latter. This is
484  // needed to properly handle cases where the source vector
485  // register is the same as the destination register
486  *uop = new ArmISAInst::SveGatherLoadCpySrcVecMicroop(
487  mnem, machInst, _offset, this);
488  uop++;
489  }
490 
491  for (int i = 0; i < num_elems; i++, uop++) {
492  *uop = new MicroopType<RegElemType, MemElemType>(
493  mnem, machInst, __opClass, _dest, _gp, _base,
494  isLoad ? (IntRegIndex) VECREG_UREG0 : _offset, _offsetIs32,
495  _offsetIsSigned, _offsetIsScaled, i, num_elems, firstFault);
496  }
497 
498  if (firstFault) {
499  *uop = new FirstFaultWritebackMicroopType<RegElemType>(
500  mnem, machInst, __opClass, num_elems, this);
501  } else {
502  --uop;
503  }
504 
505  (*uop)->setLastMicroop();
507 
508  for (StaticInstPtr *uop = microOps; !(*uop)->isLastMicroop(); uop++) {
509  (*uop)->setDelayedCommit();
510  }
511  }
512 
513  Fault
514  execute(ExecContext *, Trace::InstRecord *) const override
515  {
516  panic("Execute method called when it shouldn't!");
517  return NoFault;
518  }
519 
520  std::string
522  const Loader::SymbolTable *symtab) const override
523  {
524  // TODO: add suffix to transfer and base registers
525  std::stringstream ss;
526  printMnemonic(ss, "", false);
527  ccprintf(ss, "{");
528  printVecReg(ss, dest, true);
529  ccprintf(ss, "}, ");
531  ccprintf(ss, "/z, [");
532  printIntReg(ss, base);
533  ccprintf(ss, ", ");
534  printVecReg(ss, offset, true);
535  ccprintf(ss, "]");
536  return ss.str();
537  }
538 };
539 
540 } // namespace ArmISA
541 
542 #endif // __ARCH_ARM_SVE_MACROMEM_HH__
ArmISA::SveStStructSI::execute
Fault execute(ExecContext *, Trace::InstRecord *) const override
Definition: sve_macromem.hh:309
ArmISA::VECREG_UREG0
const int VECREG_UREG0
Definition: registers.hh:126
ArmISA::SveLdStructSS::SveLdStructSS
SveLdStructSS(const char *mnem, ExtMachInst machInst, OpClass __opClass, IntRegIndex _dest, IntRegIndex _gp, IntRegIndex _base, IntRegIndex _offset, uint8_t _numregs)
Definition: sve_macromem.hh:59
ArmISA::SveIndexedMemSV::offsetIsScaled
bool offsetIsScaled
Definition: sve_macromem.hh:449
ArmISA::SveStStructSI::numregs
uint8_t numregs
Definition: sve_macromem.hh:275
MemReadOp
static const OpClass MemReadOp
Definition: op_class.hh:99
ArmISA::i
Bitfield< 7 > i
Definition: miscregs_types.hh:63
ArmISA::SveLdStructSI::base
IntRegIndex base
Definition: sve_macromem.hh:200
ArmISA::SveStStructSS::SveStStructSS
SveStStructSS(const char *mnem, ExtMachInst machInst, OpClass __opClass, IntRegIndex _dest, IntRegIndex _gp, IntRegIndex _base, IntRegIndex _offset, uint8_t _numregs)
Definition: sve_macromem.hh:131
ArmISA::SveLdStructSS::base
IntRegIndex base
Definition: sve_macromem.hh:54
Loader::SymbolTable
Definition: symtab.hh:59
ArmISA::IntRegIndex
IntRegIndex
Definition: intregs.hh:51
ArmISA::SveStStructSS::gp
IntRegIndex gp
Definition: sve_macromem.hh:125
Trace::InstRecord
Definition: insttracer.hh:55
ArmISA::SveIndexedMemSV::generateDisassembly
std::string generateDisassembly(Addr pc, const Loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
Definition: sve_macromem.hh:521
ArmISA::SveStStructSI::imm
int64_t imm
Definition: sve_macromem.hh:274
ArmISA::SveLdStructSI::numregs
uint8_t numregs
Definition: sve_macromem.hh:202
ArmISA::SveIndexedMemSV::execute
Fault execute(ExecContext *, Trace::InstRecord *) const override
Definition: sve_macromem.hh:514
ArmISA::SveIndexedMemSV
Definition: sve_macromem.hh:439
ArmISA::SveStStructSS::offset
IntRegIndex offset
Definition: sve_macromem.hh:127
ArmISA::ArmStaticInst::printIntReg
void printIntReg(std::ostream &os, RegIndex reg_idx, uint8_t opWidth=0) const
Print a register name for disassembly given the unique dependence tag number (FP or int).
Definition: static_inst.cc:296
ArmISA
Definition: ccregs.hh:41
ArmISA::SveIndexedMemVI::base
IntRegIndex base
Definition: sve_macromem.hh:347
ArmISA::SveStStructSI::dest
IntRegIndex dest
Definition: sve_macromem.hh:271
ArmISA::SveIndexedMemVI::imm
uint64_t imm
Definition: sve_macromem.hh:348
ArmISA::SveStStructSS::execute
Fault execute(ExecContext *, Trace::InstRecord *) const override
Definition: sve_macromem.hh:162
ArmISA::SveIndexedMemSV::offsetIsSigned
bool offsetIsSigned
Definition: sve_macromem.hh:448
ArmISA::SveStStructSS::numregs
uint8_t numregs
Definition: sve_macromem.hh:128
StaticInst::isLoad
bool isLoad() const
Definition: static_inst.hh:161
ArmISA::SveLdStructSI
Definition: sve_macromem.hh:195
ArmISA::ss
Bitfield< 21 > ss
Definition: miscregs_types.hh:56
ArmISA::SveStStructSI
Definition: sve_macromem.hh:268
ArmISA::SveIndexedMemSV::gp
IntRegIndex gp
Definition: sve_macromem.hh:443
ArmISA::SveStStructSI::SveStStructSI
SveStStructSI(const char *mnem, ExtMachInst machInst, OpClass __opClass, IntRegIndex _dest, IntRegIndex _gp, IntRegIndex _base, int64_t _imm, uint8_t _numregs)
Definition: sve_macromem.hh:278
ArmISA::SveIndexedMemVI::SveIndexedMemVI
SveIndexedMemVI(const char *mnem, ExtMachInst machInst, OpClass __opClass, IntRegIndex _dest, IntRegIndex _gp, IntRegIndex _base, uint64_t _imm, bool firstFault)
Definition: sve_macromem.hh:351
Fault
std::shared_ptr< FaultBase > Fault
Definition: types.hh:240
MipsISA::pc
Bitfield< 4 > pc
Definition: pra_constants.hh:240
ArmISA::SveStStructSS::generateDisassembly
std::string generateDisassembly(Addr pc, const Loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
Definition: sve_macromem.hh:169
ArmISA::SveLdStructSI::gp
IntRegIndex gp
Definition: sve_macromem.hh:199
ArmISA::SveLdStructSI::SveLdStructSI
SveLdStructSI(const char *mnem, ExtMachInst machInst, OpClass __opClass, IntRegIndex _dest, IntRegIndex _gp, IntRegIndex _base, int64_t _imm, uint8_t _numregs)
Definition: sve_macromem.hh:205
ArmISA::SveLdStructSS::offset
IntRegIndex offset
Definition: sve_macromem.hh:55
ArmISA::SveIndexedMemVI::dest
IntRegIndex dest
Definition: sve_macromem.hh:345
ArmISA::SveLdStructSS::numregs
uint8_t numregs
Definition: sve_macromem.hh:56
ExecContext
The ExecContext is an abstract base class the provides the interface used by the ISA to manipulate th...
Definition: exec_context.hh:70
ArmISA::SveIndexedMemVI::gp
IntRegIndex gp
Definition: sve_macromem.hh:346
ArmISA::PredMacroOp
Base class for predicated macro-operations.
Definition: pred_inst.hh:336
ArmISA::INTRLVREG0
const int INTRLVREG0
Definition: registers.hh:122
StaticInst::ExtMachInst
TheISA::ExtMachInst ExtMachInst
Binary extended machine instruction type.
Definition: static_inst.hh:89
ArmISA::SveLdStructSI::dest
IntRegIndex dest
Definition: sve_macromem.hh:198
ArmISA::SveLdStructSI::execute
Fault execute(ExecContext *, Trace::InstRecord *) const override
Definition: sve_macromem.hh:235
ArmISA::SveStStructSI::generateDisassembly
std::string generateDisassembly(Addr pc, const Loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
Definition: sve_macromem.hh:316
NoFault
constexpr decltype(nullptr) NoFault
Definition: types.hh:245
ArmISA::SveIndexedMemSV::SveIndexedMemSV
SveIndexedMemSV(const char *mnem, ExtMachInst machInst, OpClass __opClass, IntRegIndex _dest, IntRegIndex _gp, IntRegIndex _base, IntRegIndex _offset, bool _offsetIs32, bool _offsetIsSigned, bool _offsetIsScaled, bool firstFault)
Definition: sve_macromem.hh:452
ArmISA::SveStStructSS::dest
IntRegIndex dest
Definition: sve_macromem.hh:124
Addr
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
Definition: types.hh:142
ArmISA::SveLdStructSS::dest
IntRegIndex dest
Definition: sve_macromem.hh:52
pred_inst.hh
ArmISA::ArmStaticInst::printVecPredReg
void printVecPredReg(std::ostream &os, RegIndex reg_idx) const
Definition: static_inst.cc:355
ArmISA::ArmStaticInst::printVecReg
void printVecReg(std::ostream &os, RegIndex reg_idx, bool isSveVecReg=false) const
Definition: static_inst.cc:348
ArmISA::SveLdStructSS::gp
IntRegIndex gp
Definition: sve_macromem.hh:53
ArmISA::SveIndexedMemSV::base
IntRegIndex base
Definition: sve_macromem.hh:444
ArmISA::SveStStructSS::base
IntRegIndex base
Definition: sve_macromem.hh:126
StaticInst::isLastMicroop
bool isLastMicroop() const
Definition: static_inst.hh:201
StaticInst::machInst
const ExtMachInst machInst
The binary machine instruction.
Definition: static_inst.hh:243
ArmISA::SveLdStructSI::imm
int64_t imm
Definition: sve_macromem.hh:201
ArmISA::SveLdStructSS::execute
Fault execute(ExecContext *, Trace::InstRecord *) const override
Definition: sve_macromem.hh:89
ArmISA::SveLdStructSS::generateDisassembly
std::string generateDisassembly(Addr pc, const Loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
Definition: sve_macromem.hh:96
ArmISA::ArmStaticInst::printMnemonic
void printMnemonic(std::ostream &os, const std::string &suffix="", bool withPred=true, bool withCond64=false, ConditionCode cond64=COND_UC) const
Definition: static_inst.cc:374
ArmISA::SveIndexedMemVI
Definition: sve_macromem.hh:342
ccprintf
void ccprintf(cp::Print &print)
Definition: cprintf.hh:127
StaticInst::setFirstMicroop
void setFirstMicroop()
Definition: static_inst.hh:219
ArmISA::PredMacroOp::numMicroops
uint32_t numMicroops
Definition: pred_inst.hh:340
ArmISA::SveLdStructSI::generateDisassembly
std::string generateDisassembly(Addr pc, const Loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
Definition: sve_macromem.hh:242
RefCountingPtr< StaticInst >
ArmISA::SveIndexedMemSV::offsetIs32
bool offsetIs32
Definition: sve_macromem.hh:447
ArmISA::SveIndexedMemSV::dest
IntRegIndex dest
Definition: sve_macromem.hh:442
StaticInst::setLastMicroop
void setLastMicroop()
Definition: static_inst.hh:220
ArmISA::SveStStructSI::base
IntRegIndex base
Definition: sve_macromem.hh:273
ArmISA::SveIndexedMemVI::execute
Fault execute(ExecContext *, Trace::InstRecord *) const override
Definition: sve_macromem.hh:409
ArmISA::SveLdStructSS
Definition: sve_macromem.hh:49
ArmISA::SveIndexedMemSV::offset
IntRegIndex offset
Definition: sve_macromem.hh:445
ArmISA::SveIndexedMemVI::generateDisassembly
std::string generateDisassembly(Addr pc, const Loader::SymbolTable *symtab) const override
Internal function to generate disassembly string.
Definition: sve_macromem.hh:416
ArmISA::SveStStructSS
Definition: sve_macromem.hh:121
ArmISA::SveStStructSI::gp
IntRegIndex gp
Definition: sve_macromem.hh:272
panic
#define panic(...)
This implements a cprintf based panic() function.
Definition: logging.hh:171
ArmISA::PredMacroOp::microOps
StaticInstPtr * microOps
Definition: pred_inst.hh:341

Generated on Wed Sep 30 2020 14:02:00 for gem5 by doxygen 1.8.17