fpop.isa (9699:76828cbe5de4) | fpop.isa (9758:353587055aff) |
---|---|
1// Copyright (c) 2007 The Hewlett-Packard Development Company 2// Copyright (c) 2012-2013 Mark D. Hill and David A. Wood 3// All rights reserved. 4// 5// The license below extends only to copyright in the software and shall 6// not be construed as granting a license to any other intellectual 7// property including but not limited to intellectual property relating 8// to a hardware implementation of the functionality of the software --- 351 unchanged lines hidden (view full) --- 360 cfofBits = cfofBits | CFBit; 361 else if(FpSrcReg1 == FpSrcReg2) 362 ccFlagBits = ccFlagBits | ZFBit; 363 ''' 364 op_class = 'FloatCmpOp' 365 366 class absfp(FpUnaryOp): 367 code = 'FpDestReg = fabs(FpSrcReg1);' | 1// Copyright (c) 2007 The Hewlett-Packard Development Company 2// Copyright (c) 2012-2013 Mark D. Hill and David A. Wood 3// All rights reserved. 4// 5// The license below extends only to copyright in the software and shall 6// not be construed as granting a license to any other intellectual 7// property including but not limited to intellectual property relating 8// to a hardware implementation of the functionality of the software --- 351 unchanged lines hidden (view full) --- 360 cfofBits = cfofBits | CFBit; 361 else if(FpSrcReg1 == FpSrcReg2) 362 ccFlagBits = ccFlagBits | ZFBit; 363 ''' 364 op_class = 'FloatCmpOp' 365 366 class absfp(FpUnaryOp): 367 code = 'FpDestReg = fabs(FpSrcReg1);' |
368 flag_code = 'FSW &= (~CC1Bit);' | 368 flag_code = 'FSW = FSW & (~CC1Bit);' |
369 370 class chsfp(FpUnaryOp): 371 code = 'FpDestReg = (-1) * (FpSrcReg1);' | 369 370 class chsfp(FpUnaryOp): 371 code = 'FpDestReg = (-1) * (FpSrcReg1);' |
372 flag_code = 'FSW &= (~CC1Bit);' | 372 flag_code = 'FSW = FSW & (~CC1Bit);' |
373}}; | 373}}; |