From: Gabe Black Date: Wed, 5 Sep 2007 06:23:51 +0000 (-0700) Subject: X86: Fix a typo in the microassembly for the cqo instruction. X-Git-Tag: m5_2.0_beta4~131 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=310912cf2ccae3a4e9e3505cc3316d778daa2ec8;p=gem5.git X86: Fix a typo in the microassembly for the cqo instruction. --HG-- extra : convert_revision : ddf739e591e4414ade37b806a88f3c11292627e2 --- diff --git a/src/arch/x86/isa/insts/data_conversion/sign_extension.py b/src/arch/x86/isa/insts/data_conversion/sign_extension.py index 0bdd4036c..9a7c226af 100644 --- a/src/arch/x86/isa/insts/data_conversion/sign_extension.py +++ b/src/arch/x86/isa/insts/data_conversion/sign_extension.py @@ -62,6 +62,6 @@ def macroop CQO_R_R { # A shift might be slower than, for example, an explicit sign extension, # so it might be worthwhile to try to find an alternative. mov regm, regm, reg - sra regm, regm, "env.dataSize * 8 - 1" + srai regm, regm, "env.dataSize * 8 - 1" }; '''