From: Gabe Black Date: Mon, 3 Dec 2007 22:32:56 +0000 (-0800) Subject: X86: Please excuse my dear Aunt Sally. (precedence bug) X-Git-Tag: m5_2.0_beta5~50 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=27cc351688c231affdd3107439e409a9661beffa;p=gem5.git X86: Please excuse my dear Aunt Sally. (precedence bug) --HG-- extra : convert_revision : 9ad4f31e7a962c3177896bcbfb93e2e54720d117 --- diff --git a/src/arch/x86/isa/insts/general_purpose/data_conversion/sign_extension.py b/src/arch/x86/isa/insts/general_purpose/data_conversion/sign_extension.py index ae3c6cc6f..7ca4eb08b 100644 --- a/src/arch/x86/isa/insts/general_purpose/data_conversion/sign_extension.py +++ b/src/arch/x86/isa/insts/general_purpose/data_conversion/sign_extension.py @@ -55,7 +55,7 @@ microcode = ''' def macroop CDQE_R { - sexti reg, reg, "env.dataSize << 2 - 1" + sexti reg, reg, "env.dataSize * 4 - 1" }; def macroop CQO_R_R {