From 676dc6d29287e15cb37b367a15a2e7c64f9c9007 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 3 Aug 2009 11:01:40 -0700 Subject: X86: Fix segment override prefixes on instructions that use rbp/rsp and a displacement. --- src/arch/x86/utility.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/arch/x86/utility.hh') diff --git a/src/arch/x86/utility.hh b/src/arch/x86/utility.hh index d305e2599..4388dd416 100644 --- a/src/arch/x86/utility.hh +++ b/src/arch/x86/utility.hh @@ -82,7 +82,8 @@ namespace __hash_namespace { ((uint64_t)emi.opcode.op)) ^ emi.immediate ^ emi.displacement ^ emi.mode ^ - emi.opSize ^ emi.addrSize ^ emi.stackSize; + emi.opSize ^ emi.addrSize ^ + emi.stackSize ^ emi.dispSize; }; }; } -- cgit v1.2.3