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