X86: Get rid of a hack for ruflag which is no longer necessary.
authorGabe Black <gblack@eecs.umich.edu>
Wed, 3 Oct 2007 05:05:50 +0000 (22:05 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Wed, 3 Oct 2007 05:05:50 +0000 (22:05 -0700)
--HG--
extra : convert_revision : 1bb60c9ddb483aead2af0201bbda938cc6d3f7cb

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

index f161e6825d24de95133c5b820089e1ea421c624a..de2e6692dd8f51fe470901528a3436ef4cc30de3 100644 (file)
@@ -853,7 +853,7 @@ let {{
 
     class Ruflag(RegOp):
         code = '''
-            int flag = bits(ccFlagBits, imm8 + 0*psrc1);
+            int flag = bits(ccFlagBits, imm8);
             DestReg = merge(DestReg, flag, dataSize);
             ccFlagBits = (flag == 0) ? (ccFlagBits | EZFBit) :
                                        (ccFlagBits & ~EZFBit);