From b43eeaf2e22ef081e2bc73bff7a069bbf5eb5fda Mon Sep 17 00:00:00 2001 From: Korey Sewell Date: Sun, 19 Jun 2011 21:43:33 -0400 Subject: cpus/isa: add a != operator for pcstate --- src/arch/arm/types.hh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/arch/arm') diff --git a/src/arch/arm/types.hh b/src/arch/arm/types.hh index 9e7c0ff7f..15f9f4d0a 100644 --- a/src/arch/arm/types.hh +++ b/src/arch/arm/types.hh @@ -433,6 +433,12 @@ namespace ArmISA _itstate == opc._itstate && _nextItstate == opc._nextItstate; } + bool + operator != (const PCState &opc) const + { + return !(*this == opc); + } + void serialize(std::ostream &os) { -- cgit v1.2.3