Go to the documentation of this file.
41 #ifndef __ARCH_GENERIC_TYPES_HH__
42 #define __ARCH_GENERIC_TYPES_HH__
117 return !(*
this == opc);
143 template <
int InstW
idth>
176 return this->
npc() != this->
pc() + InstWidth;
188 template <
int InstW
idth>
197 template <
int InstW
idth>
234 return this->
npc() != this->
pc() + InstWidth ||
235 this->
nupc() != this->
upc() + 1;
274 return !(*
this == opc);
294 template <
int InstW
idth>
299 pc.pc(),
pc.npc(),
pc.upc(),
pc.nupc());
304 template <
int InstW
idth>
330 return !(this->
nnpc() == this->
npc() + InstWidth &&
331 (this->
npc() == this->
pc() + InstWidth ||
332 this->
npc() == this->
pc() + 2 * InstWidth));
355 return !(*
this == opc);
373 template <
int InstW
idth>
378 pc.pc(),
pc.npc(),
pc.nnpc());
383 template <
int InstW
idth>
452 return !(*
this == opc);
472 template <
int InstW
idth>
477 pc.pc(),
pc.npc(),
pc.nnpc(),
pc.upc(),
pc.nupc());
bool operator==(const DelaySlotPCState< InstWidth > &opc) const
void unserialize(CheckpointIn &cp) override
Unserialize an object.
void serialize(CheckpointOut &cp) const override
Serialize an object.
bool operator==(const DelaySlotUPCState< InstWidth > &opc) const
bool operator==(const UPCState< InstWidth > &opc) const
void unserialize(CheckpointIn &cp) override
Unserialize an object.
#define UNSERIALIZE_SCALAR(scalar)
MicroPC microPC() const
Returns the current micropc.
DelaySlotPCState(Addr val)
bool operator!=(const PCStateBase &opc) const
bool operator!=(const DelaySlotUPCState< InstWidth > &opc) const
void ccprintf(cp::Print &print)
void serialize(CheckpointOut &cp) const override
Serialize an object.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
Basic support for object serialization.
bool operator!=(const DelaySlotPCState< InstWidth > &opc) const
SimplePCState< InstWidth > Base
bool operator==(const PCStateBase &opc) const
DelaySlotPCState< InstWidth > Base
void set(Addr val)
Force this PC to reflect a particular value, resetting all its other fields around it.
void serialize(CheckpointOut &cp) const override
Serialize an object.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
#define SERIALIZE_SCALAR(scalar)
Addr nextInstAddr() const
Returns the memory address the bytes of the next instruction came from.
DelaySlotUPCState(Addr val)
void unserialize(CheckpointIn &cp) override
Unserialize an object.
std::ostream & operator<<(std::ostream &os, const SimplePCState< InstWidth > &pc)
std::ostream CheckpointOut
Addr instAddr() const
Returns the memory address the bytes of this instruction came from.
void serialize(CheckpointOut &cp) const override
Serialize an object.
bool operator!=(const UPCState< InstWidth > &opc) const
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
SimplePCState< InstWidth > Base
Generated on Tue Sep 21 2021 12:24:46 for gem5 by doxygen 1.8.17