diff options
author | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:33 -0400 |
---|---|---|
committer | Korey Sewell <ksewell@umich.edu> | 2011-06-19 21:43:33 -0400 |
commit | b43eeaf2e22ef081e2bc73bff7a069bbf5eb5fda (patch) | |
tree | f824a20153cb0e4c55916e22989b3e0c81788952 /src/arch/arm | |
parent | e2f9266dbfc7ef54f94028eeffa4e40c76ffc17a (diff) | |
download | gem5-b43eeaf2e22ef081e2bc73bff7a069bbf5eb5fda.tar.xz |
cpus/isa: add a != operator for pcstate
Diffstat (limited to 'src/arch/arm')
-rw-r--r-- | src/arch/arm/types.hh | 6 |
1 files changed, 6 insertions, 0 deletions
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) { |