regop.isa (5058:be23162b7370) | regop.isa (5059:33478a26f73e) |
---|---|
1// Copyright (c) 2007 The Hewlett-Packard Development Company 2// All rights reserved. 3// 4// Redistribution and use of this software in source and binary forms, 5// with or without modification, are permitted provided that the 6// following conditions are met: 7// 8// The software must be used only for Non-Commercial Use which means any --- 642 unchanged lines hidden (view full) --- 651 ccFlagBits = ccFlagBits | CFBit; 652 else if(FpSrcReg1 == FpSrcReg2) 653 ccFlagBits = ccFlagBits | ZFBit; 654 ''' 655 656 class Xorfp(RegOp): 657 code = 'FpDestReg.uqw = FpSrcReg1.uqw ^ FpSrcReg2.uqw;' 658 | 1// Copyright (c) 2007 The Hewlett-Packard Development Company 2// All rights reserved. 3// 4// Redistribution and use of this software in source and binary forms, 5// with or without modification, are permitted provided that the 6// following conditions are met: 7// 8// The software must be used only for Non-Commercial Use which means any --- 642 unchanged lines hidden (view full) --- 651 ccFlagBits = ccFlagBits | CFBit; 652 else if(FpSrcReg1 == FpSrcReg2) 653 ccFlagBits = ccFlagBits | ZFBit; 654 ''' 655 656 class Xorfp(RegOp): 657 code = 'FpDestReg.uqw = FpSrcReg1.uqw ^ FpSrcReg2.uqw;' 658 |
659 class Sqrtfp(RegOp): 660 code = 'FpDestReg = sqrt(FpSrcReg2);' 661 |
|
659 class Movfp(CondRegOp): 660 code = 'FpDestReg.uqw = FpSrcReg2.uqw;' 661 else_code = 'FpDestReg.uqw = FpDestReg.uqw;' 662 663 # Conversion microops 664 class ConvOp(RegOp): 665 abstract = True 666 def __init__(self, dest, src1): --- 29 unchanged lines hidden --- | 662 class Movfp(CondRegOp): 663 code = 'FpDestReg.uqw = FpSrcReg2.uqw;' 664 else_code = 'FpDestReg.uqw = FpDestReg.uqw;' 665 666 # Conversion microops 667 class ConvOp(RegOp): 668 abstract = True 669 def __init__(self, dest, src1): --- 29 unchanged lines hidden --- |