summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-12-03 14:32:56 -0800
committerGabe Black <gblack@eecs.umich.edu>2007-12-03 14:32:56 -0800
commit27cc351688c231affdd3107439e409a9661beffa (patch)
treef6a6e1c2747d72f910f8a725f809d0eb0657473b
parent73caca57a837ec607c9993a5b9934a4b2aa3529d (diff)
downloadgem5-27cc351688c231affdd3107439e409a9661beffa.tar.xz
X86: Please excuse my dear Aunt Sally. (precedence bug)
--HG-- extra : convert_revision : 9ad4f31e7a962c3177896bcbfb93e2e54720d117
-rw-r--r--src/arch/x86/isa/insts/general_purpose/data_conversion/sign_extension.py2
1 files changed, 1 insertions, 1 deletions
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 {