From 27cc351688c231affdd3107439e409a9661beffa Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 3 Dec 2007 14:32:56 -0800 Subject: [PATCH] X86: Please excuse my dear Aunt Sally. (precedence bug) --HG-- extra : convert_revision : 9ad4f31e7a962c3177896bcbfb93e2e54720d117 --- .../isa/insts/general_purpose/data_conversion/sign_extension.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {