summaryrefslogtreecommitdiff
path: root/src/arch/x86/utility.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-04-06 16:39:47 +0000
committerGabe Black <gblack@eecs.umich.edu>2007-04-06 16:39:47 +0000
commita3ed19f82a34626231ae7b5a024331b24645c01c (patch)
treee5b0f9ce26c276998f64dd4d66aa6d81d5fb466c /src/arch/x86/utility.hh
parent3c9768e6448b72689e9edb250dd0ee3e5eadb9d7 (diff)
parent59df95c7e6e5d1e0bee48946aea08e436785b298 (diff)
downloadgem5-a3ed19f82a34626231ae7b5a024331b24645c01c.tar.xz
Merge zizzer.eecs.umich.edu:/bk/newmem
into ahchoo.blinky.homelinux.org:/home/gblack/m5/newmem-x86 --HG-- extra : convert_revision : 8e624bb95cb9f478ca7ac1dbbd64e20674e3e224
Diffstat (limited to 'src/arch/x86/utility.hh')
-rw-r--r--src/arch/x86/utility.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/x86/utility.hh b/src/arch/x86/utility.hh
index e0bd09515..1c98e7fbc 100644
--- a/src/arch/x86/utility.hh
+++ b/src/arch/x86/utility.hh
@@ -78,7 +78,8 @@ namespace __hash_namespace {
((uint64_t)emi.opcode.prefixA << 16) |
((uint64_t)emi.opcode.prefixB << 8) |
((uint64_t)emi.opcode.op)) ^
- emi.immediate ^ emi.displacement;
+ emi.immediate ^ emi.displacement ^
+ emi.opSize;
};
};
}