Go to the documentation of this file.
41 #ifndef __ARCH_GENERIC_TYPES_HH__
42 #define __ARCH_GENERIC_TYPES_HH__
58 #define ILLEGAL_ELEM_INDEX std::numeric_limits<ElemIndex>::max()
124 return !(*
this == opc);
150 template <
class MachInst>
195 template <
class MachInst>
204 template <
class MachInst>
242 this->
nupc() != this->
upc() + 1;
281 return !(*
this == opc);
301 template <
class MachInst>
306 pc.pc(),
pc.npc(),
pc.upc(),
pc.nupc());
311 template <
class MachInst>
362 return !(*
this == opc);
380 template <
class MachInst>
385 pc.pc(),
pc.npc(),
pc.nnpc());
390 template <
class MachInst>
459 return !(*
this == opc);
479 template <
class MachInst>
484 pc.pc(),
pc.npc(),
pc.nnpc(),
pc.upc(),
pc.nupc());
bool operator!=(const UPCState< MachInst > &opc) const
#define UNSERIALIZE_SCALAR(scalar)
bool operator!=(const DelaySlotPCState< MachInst > &opc) const
Basic support for object serialization.
std::ostream & operator<<(std::ostream &os, const SimplePCState< MachInst > &pc)
void set(Addr val)
Force this PC to reflect a particular value, resetting all its other fields around it.
SimplePCState< MachInst > Base
DelaySlotPCState< MachInst > Base
void unserialize(CheckpointIn &cp) override
Unserialize an object.
bool operator==(const DelaySlotUPCState< MachInst > &opc) const
bool operator!=(const DelaySlotUPCState< MachInst > &opc) const
void unserialize(CheckpointIn &cp) override
Unserialize an object.
void serialize(CheckpointOut &cp) const override
Serialize an object.
DelaySlotUPCState(Addr val)
Addr instAddr() const
Returns the memory address the bytes of this instruction came from.
DelaySlotPCState(Addr val)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
bool operator==(const PCStateBase &opc) const
#define SERIALIZE_SCALAR(scalar)
void serialize(CheckpointOut &cp) const override
Serialize an object.
void serialize(CheckpointOut &cp) const override
Serialize an object.
SimplePCState< MachInst > Base
bool operator!=(const PCStateBase &opc) const
void unserialize(CheckpointIn &cp) override
Unserialize an object.
Addr nextInstAddr() const
Returns the memory address the bytes of the next instruction came from.
uint16_t ElemIndex
Logical vector register elem index type.
MicroPC microPC() const
Returns the current micropc.
void ccprintf(cp::Print &print)
std::ostream CheckpointOut
bool operator==(const DelaySlotPCState< MachInst > &opc) const
void serialize(CheckpointOut &cp) const override
Serialize an object.
bool operator==(const UPCState< MachInst > &opc) const
Generated on Wed Sep 30 2020 14:02:01 for gem5 by doxygen 1.8.17