summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/types.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/x86/types.hh b/src/arch/x86/types.hh
index 954f9f16e..8d47b7efb 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