From 2c85cf41a2c4e228d6dce34daada84fff4592bbf Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 29 Apr 2012 02:26:34 -0700 Subject: X86: Fix the IMUL_R_P_I macroop. The disp displacement was left off the load microop so the wrong value was used. --- .../x86/isa/insts/general_purpose/arithmetic/multiply_and_divide.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/x86/isa/insts/general_purpose') 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 -- cgit v1.2.3