From: Gabe Black Date: Wed, 5 Aug 2009 10:03:28 +0000 (-0700) Subject: X86: Fix the indexing for ah in byte multiply instructions. X-Git-Tag: Calvin_Submission~167 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=abe8fb38446c64d40266dfe5aa49e124e2bd5cb3;p=gem5.git X86: Fix the indexing for ah in byte multiply instructions. --- 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 19d1c7789..6096303c1 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 @@ -63,8 +63,7 @@ def macroop MUL_B_R { mul1u rax, reg mulel rax - # Really ah - muleh rsi, flags=(OF,CF) + muleh ah, flags=(OF,CF) }; def macroop MUL_B_M @@ -72,8 +71,7 @@ def macroop MUL_B_M ld t1, seg, sib, disp mul1u rax, t1 mulel rax - # Really ah - muleh rsi, flags=(OF,CF) + muleh ah, flags=(OF,CF) }; def macroop MUL_B_P @@ -82,8 +80,7 @@ def macroop MUL_B_P ld t1, seg, riprel, disp mul1u rax, t1 mulel rax - # Really ah - muleh rsi, flags=(OF,CF) + muleh ah, flags=(OF,CF) }; # @@ -122,8 +119,7 @@ def macroop IMUL_B_R { mul1s rax, reg mulel rax - # Really ah - muleh rsi, flags=(OF,CF) + muleh ah, flags=(OF,CF) }; def macroop IMUL_B_M @@ -131,8 +127,7 @@ def macroop IMUL_B_M ld t1, seg, sib, disp mul1s rax, t1 mulel rax - # Really ah - muleh rsi, flags=(OF,CF) + muleh ah, flags=(OF,CF) }; def macroop IMUL_B_P @@ -141,8 +136,7 @@ def macroop IMUL_B_P ld t1, seg, riprel, disp mul1s rax, t1 mulel rax - # Really ah - muleh rsi, flags=(OF,CF) + muleh ah, flags=(OF,CF) }; #