From: Gabe Black Date: Sun, 29 Apr 2012 09:26:34 +0000 (-0700) Subject: X86: Fix the IMUL_R_P_I macroop. X-Git-Tag: stable_2012_06_28~100 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2c85cf41a2c4e228d6dce34daada84fff4592bbf;p=gem5.git X86: Fix the IMUL_R_P_I macroop. The disp displacement was left off the load microop so the wrong value was used. --- 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