diff --git a/src/arch/x86/types.hh b/src/arch/x86/types.hh index 954f9f16e2..8d47b7efb1 100644 --- a/src/arch/x86/types.hh +++ b/src/arch/x86/types.hh @@ -318,7 +318,8 @@ namespace X86ISA bool branching() const { - return this->npc() != this->pc() + size(); + return (this->npc() != this->pc() + size()) || + (this->nupc() != this->upc() + 1); } void