X86: Make wrip sign extend its second operand.
authorGabe Black <gblack@eecs.umich.edu>
Fri, 19 Oct 2007 05:36:36 +0000 (22:36 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Fri, 19 Oct 2007 05:36:36 +0000 (22:36 -0700)
--HG--
extra : convert_revision : 2531af8b442ea5aaefccd7a7999c7720489edc36

src/arch/x86/isa/microops/regop.isa

index ab113a699e6d60019f751403d96938ff36b55c2f..892c4448775ca107bc50f6fc286c866c809bade0 100644 (file)
@@ -835,7 +835,7 @@ let {{
         '''
 
     class Wrip(WrRegOp, CondRegOp):
-        code = 'RIP = psrc1 + op2'
+        code = 'RIP = psrc1 + sop2'
         else_code="RIP = RIP;"
 
     class Br(WrRegOp, CondRegOp):