fpop.isa (7626:bdd926760470) fpop.isa (8588:ef28ed90449d)
1// Copyright (c) 2007 The Hewlett-Packard Development Company
2// All rights reserved.
3//
4// The license below extends only to copyright in the software and shall
5// not be construed as granting a license to any other intellectual
6// property including but not limited to intellectual property relating
7// to a hardware implementation of the functionality of the software
8// licensed hereunder. You may use the software subject to the license

--- 199 unchanged lines hidden (view full) ---

208 "dataSize" : self.dataSize,
209 "spm" : self.spm}
210
211 class Movfp(FpOp):
212 def __init__(self, dest, src1, spm=0, \
213 SetStatus=False, dataSize="env.dataSize"):
214 super(Movfp, self).__init__(dest, src1, "InstRegIndex(0)", \
215 spm, SetStatus, dataSize)
1// Copyright (c) 2007 The Hewlett-Packard Development Company
2// All rights reserved.
3//
4// The license below extends only to copyright in the software and shall
5// not be construed as granting a license to any other intellectual
6// property including but not limited to intellectual property relating
7// to a hardware implementation of the functionality of the software
8// licensed hereunder. You may use the software subject to the license

--- 199 unchanged lines hidden (view full) ---

208 "dataSize" : self.dataSize,
209 "spm" : self.spm}
210
211 class Movfp(FpOp):
212 def __init__(self, dest, src1, spm=0, \
213 SetStatus=False, dataSize="env.dataSize"):
214 super(Movfp, self).__init__(dest, src1, "InstRegIndex(0)", \
215 spm, SetStatus, dataSize)
216 code = 'FpDestReg.uqw = FpSrcReg1.uqw;'
217 else_code = 'FpDestReg.uqw = FpDestReg.uqw;'
216 code = 'FpDestReg_uqw = FpSrcReg1_uqw;'
217 else_code = 'FpDestReg_uqw = FpDestReg_uqw;'
218 cond_check = "checkCondition(ccFlagBits, src2)"
219
220 class Xorfp(FpOp):
218 cond_check = "checkCondition(ccFlagBits, src2)"
219
220 class Xorfp(FpOp):
221 code = 'FpDestReg.uqw = FpSrcReg1.uqw ^ FpSrcReg2.uqw;'
221 code = 'FpDestReg_uqw = FpSrcReg1_uqw ^ FpSrcReg2_uqw;'
222
223 class Sqrtfp(FpOp):
224 code = 'FpDestReg = sqrt(FpSrcReg2);'
225
226 # Conversion microops
227 class ConvOp(FpOp):
228 abstract = True
229 def __init__(self, dest, src1):

--- 66 unchanged lines hidden ---
222
223 class Sqrtfp(FpOp):
224 code = 'FpDestReg = sqrt(FpSrcReg2);'
225
226 # Conversion microops
227 class ConvOp(FpOp):
228 abstract = True
229 def __init__(self, dest, src1):

--- 66 unchanged lines hidden ---