x86: set op class of two fp instructions
authorNilay Vaish <nilay@cs.wisc.edu>
Mon, 1 Sep 2014 21:55:49 +0000 (16:55 -0500)
committerNilay Vaish <nilay@cs.wisc.edu>
Mon, 1 Sep 2014 21:55:49 +0000 (16:55 -0500)
This patch sets op class of two fp instructions: movfp and pop x87 stack
as IntAluOp since these instructions do not make use of the fp alu.

src/arch/x86/isa/microops/fpop.isa

index 4155fe3aaa352c88a8b2dd2972436c919b8237b9..39162d3929ce17348d0aa8c3becaf7434ae706d1 100644 (file)
@@ -270,6 +270,7 @@ let {{
         else_code = 'FpDestReg_uqw = FpDestReg_uqw;'
         cond_check = "checkCondition(ccFlagBits | cfofBits | dfBit | \
                                      ecfBit | ezfBit, src2)"
+        op_class = 'IntAluOp'
 
     class Xorfp(FpBinaryOp):
         code = 'FpDestReg_uqw = FpSrcReg1_uqw ^ FpSrcReg2_uqw;'
@@ -449,4 +450,5 @@ let {{
                     spm=spm, SetStatus=False, UpdateFTW=UpdateFTW)
 
         code = ''
+        op_class = 'IntAluOp'
 }};