Patent ID: 7310723
Filing Date: 2007-12-18
Classification: G06F

Abstract:
1. A method of exception handling, said method comprising: maintaining, in a first register, first state information associated with executing a first code sequence of native instructions, said native instructions translated from non-native instructions associated with a non-native application; in a commit operation, transferring said first state information at a commit point to a second register that is architecturally visible to said application; in a rollback operation, transferring second state information from said second register to said first register, wherein said second state information is associated with a second code sequence that preceded said first code sequence; identifying, during execution of any instruction in said first code sequence, an event to be handled; setting one of two flag bits in said second register to indicate that handling of said event is to be deferred; and generating an exception corresponding to said event whenever one of said flag bits is set, wherein said exception causes said event to be handled subsequent to said identifying, and wherein said exception is generated at the next commit operation when a first of said flag bits is set and at the next rollback operation when a second of said flag bits is set.