From 310912cf2ccae3a4e9e3505cc3316d778daa2ec8 Mon Sep 17 00:00:00 2001
From: Gabe Black <gblack@eecs.umich.edu>
Date: Tue, 4 Sep 2007 23:23:51 -0700
Subject: [PATCH] X86: Fix a typo in the microassembly for the cqo instruction.

--HG--
extra : convert_revision : ddf739e591e4414ade37b806a88f3c11292627e2
---
 src/arch/x86/isa/insts/data_conversion/sign_extension.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"
 };
 '''
-- 
2.30.2