diff -r ea8e68232980 -r 764f95b95228 src/arch/generic/types.hh --- a/src/arch/generic/types.hh Thu Jun 09 22:30:41 2011 -0400 +++ b/src/arch/generic/types.hh Fri Jun 10 13:09:32 2011 -0400 @@ -98,6 +98,12 @@ return _pc == opc._pc && _npc == opc._npc; } + bool + operator != (const PCStateBase &opc) const + { + return !(*this == opc); + } + void serialize(std::ostream &os) { @@ -235,6 +241,12 @@ _upc == opc._upc && _nupc == opc._nupc; } + bool + operator != (const UPCState &opc) const + { + return !(*this == opc); + } + void serialize(std::ostream &os) { @@ -310,6 +322,12 @@ _nnpc == opc._nnpc; } + bool + operator != (const DelaySlotPCState &opc) const + { + return !(*this == opc); + } + void serialize(std::ostream &os) { @@ -401,6 +419,12 @@ _upc == opc._upc && _nupc == opc._nupc; } + bool + operator != (const DelaySlotUPCState &opc) const + { + return !(*this == opc); + } + void serialize(std::ostream &os) {