Latent modification instruction for transactional execution
First Claim
1. A method for executing instructions of a transaction in a transaction execution (TX) computing environment with transactional memory, the method comprising:
- executing, by a processor, a latent modification instruction (LMI) within the transaction, the transaction comprising a set of target instructions following the LMI in program order in an instruction stream, each of the target instructions having an associated function, the LMI at least partially specifying a substitute function to be substituted for the associated function; and
executing, by the processor, a next sequential instruction (NSI) and at least one of the target instructions within the transaction, the NSI following the LMI in program order in the instruction stream, wherein the executing the at least one of the target instructions employs the substitute function at least partially specified by the LMI,wherein the set of target instructions includes a second part of a combination instruction, wherein the LMI is a first part of the combination instruction, wherein the function of the second part of the combination instruction is a null function, and wherein the first part of the combination instruction and the second part of the combination instruction combine to specify the substitute function.
1 Assignment
0 Petitions
Accused Products
Abstract
An instruction stream includes a transactional code region. The transactional code region includes a latent modification instruction (LMI), a next sequential instruction (NSI) following the LMI, and a set of target instructions following the NSI in program order. Each target instruction has an associated function, and the LMI at least partially specifies a substitute function for the associated function. A processor executes the LMI, the NSI, and at least one of the target instructions, employing the substitute function at least partially specified by the LMI. The LMI, the NSI, and the target instructions may be executed by the processor in sequential program order or out of order.
-
Citations
12 Claims
-
1. A method for executing instructions of a transaction in a transaction execution (TX) computing environment with transactional memory, the method comprising:
-
executing, by a processor, a latent modification instruction (LMI) within the transaction, the transaction comprising a set of target instructions following the LMI in program order in an instruction stream, each of the target instructions having an associated function, the LMI at least partially specifying a substitute function to be substituted for the associated function; and executing, by the processor, a next sequential instruction (NSI) and at least one of the target instructions within the transaction, the NSI following the LMI in program order in the instruction stream, wherein the executing the at least one of the target instructions employs the substitute function at least partially specified by the LMI, wherein the set of target instructions includes a second part of a combination instruction, wherein the LMI is a first part of the combination instruction, wherein the function of the second part of the combination instruction is a null function, and wherein the first part of the combination instruction and the second part of the combination instruction combine to specify the substitute function. - View Dependent Claims (2, 3, 4)
-
-
5. A computer system for processing transactions in a computing environment with transactional memory, the computer system comprising:
-
a memory; and a processor in communication with the memory, wherein the computer system is configured to perform a method, the method comprising; executing, by a processor, a latent modification instruction (LMI) within the transaction, the transaction comprising a set of target instructions following the LMI in program order in an instruction stream, each of the target instructions having an associated function, the LMI at least partially specifying a substitute function to be substituted for the associated function; and executing, by the processor, a next sequential instruction (NSI) and at least one of the target instructions within the transaction, the NSI following the LMI in program order in the instruction stream, wherein the executing the at least one of the target instructions employs the substitute function at least partially specified by the LMI, wherein the set of target instructions includes a second part of a combination instruction, wherein the LMI is a first part of the combination instruction, wherein the function of the second part of the combination instruction is a null function, and wherein the first part of the combination instruction and the second part of the combination instruction combine to specify the substitute function. - View Dependent Claims (6, 7, 8)
-
-
9. A computer program product for processing transactions in a computing environment with transactional memory, the computer program product comprising:
a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method, the method comprising; executing, by a processor, a latent modification instruction (LMI) within the transaction, the transaction comprising a set of target instructions following the LMI in program order in an instruction stream, each of the target instructions having an associated function, the LMI at least partially specifying a substitute function to be substituted for the associated function; and executing, by the processor, a next sequential instruction (NSI) and at least one of the target instructions within the transaction, the NSI following the LMI in program order in the instruction stream, wherein the executing the at least one of the target instructions employs the substitute function at least partially specified by the LMI, wherein the set of target instructions includes a second part of a combination instruction, wherein the LMI is a first part of the combination instruction, wherein the function of the second part of the combination instruction is a null function, and wherein the first part of the combination instruction and the second part of the combination instruction combine to specify the substitute function. - View Dependent Claims (10, 11, 12)
Specification