regop.isa (5138:069bbeae1ef8) regop.isa (5157:9c6c153af4b1)
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

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

830 ccFlagBits = ccFlagBits | OFBit;
831 //Use the regular mechanisms to calculate the other flags.
832 ccFlagBits = genFlags(ccFlagBits, ext & ~(CFBit | ECFBit | OFBit),
833 DestReg, psrc1, op2);
834 }
835 '''
836
837 class Wrip(WrRegOp, CondRegOp):
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

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

830 ccFlagBits = ccFlagBits | OFBit;
831 //Use the regular mechanisms to calculate the other flags.
832 ccFlagBits = genFlags(ccFlagBits, ext & ~(CFBit | ECFBit | OFBit),
833 DestReg, psrc1, op2);
834 }
835 '''
836
837 class Wrip(WrRegOp, CondRegOp):
838 code = 'RIP = psrc1 + op2'
838 code = 'RIP = psrc1 + sop2'
839 else_code="RIP = RIP;"
840
841 class Br(WrRegOp, CondRegOp):
842 code = 'nuIP = psrc1 + op2;'
843 else_code='nuIP = nuIP;'
844
845 class Wruflags(WrRegOp):
846 code = 'ccFlagBits = psrc1 ^ op2'

--- 31 unchanged lines hidden ---
839 else_code="RIP = RIP;"
840
841 class Br(WrRegOp, CondRegOp):
842 code = 'nuIP = psrc1 + op2;'
843 else_code='nuIP = nuIP;'
844
845 class Wruflags(WrRegOp):
846 code = 'ccFlagBits = psrc1 ^ op2'

--- 31 unchanged lines hidden ---