summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2012-04-29 02:26:34 -0700
committerGabe Black <gblack@eecs.umich.edu>2012-04-29 02:26:34 -0700
commit2c85cf41a2c4e228d6dce34daada84fff4592bbf (patch)
tree8bdc50b5ba5c87671379df15ad2f8448c669cbce /src/arch/x86/isa
parent03a91b05333ff5f0aa7630be108295b267ac9d90 (diff)
downloadgem5-2c85cf41a2c4e228d6dce34daada84fff4592bbf.tar.xz
X86: Fix the IMUL_R_P_I macroop.
The disp displacement was left off the load microop so the wrong value was used.
Diffstat (limited to 'src/arch/x86/isa')
-rw-r--r--src/arch/x86/isa/insts/general_purpose/arithmetic/multiply_and_divide.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/isa/insts/general_purpose/arithmetic/multiply_and_divide.py b/src/arch/x86/isa/insts/general_purpose/arithmetic/multiply_and_divide.py
index f01f75c6a..430b5f833 100644
--- a/src/arch/x86/isa/insts/general_purpose/arithmetic/multiply_and_divide.py
+++ b/src/arch/x86/isa/insts/general_purpose/arithmetic/multiply_and_divide.py
@@ -198,7 +198,7 @@ def macroop IMUL_R_P_I
{
rdip t7
limm t1, imm
- ld t2, seg, riprel
+ ld t2, seg, riprel, disp
mul1s t2, t1, flags=(OF,CF)
mulel reg
muleh t0