Saving/restoring selected registers in transactional processing
First Claim
Patent Images
1. A computer program product for facilitating processing of transactions within a computing environment, said computer program product comprising:
- a non-transitory computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising;
obtaining a transaction begin instruction, the transaction begin instruction comprising an opcode that specifies a transaction begin instruction of a particular type, and a field that specifies a general register save mask to explicitly specify a set of individually selected registers to be saved based on executing the transaction begin instruction, the transaction begin instruction to initiate a transaction, and the general register save mask explicitly specifying the set of individually selected registers to be saved at a start of the transaction and to be restored based on a transaction abort; and
executing the transaction begin instruction, the executing the transaction begin instruction comprising saving contents of the set of individually selected registers explicitly specified in the general register save mask of the transaction begin instruction, and initiating execution of the transaction.
1 Assignment
0 Petitions
Accused Products
Abstract
A TRANSACTION BEGIN instruction begins execution of a transaction and includes a general register save mask having bits, that when set, indicate registers to be saved in the event the transaction is aborted. At the beginning of the transaction, contents of the registers are saved in memory not accessible to the program, and if the transaction is aborted, the saved contents are copied to the registers.
274 Citations
20 Claims
-
1. A computer program product for facilitating processing of transactions within a computing environment, said computer program product comprising:
a non-transitory computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising; obtaining a transaction begin instruction, the transaction begin instruction comprising an opcode that specifies a transaction begin instruction of a particular type, and a field that specifies a general register save mask to explicitly specify a set of individually selected registers to be saved based on executing the transaction begin instruction, the transaction begin instruction to initiate a transaction, and the general register save mask explicitly specifying the set of individually selected registers to be saved at a start of the transaction and to be restored based on a transaction abort; and executing the transaction begin instruction, the executing the transaction begin instruction comprising saving contents of the set of individually selected registers explicitly specified in the general register save mask of the transaction begin instruction, and initiating execution of the transaction. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
11. A computer system for facilitating processing of transactions within a computing environment, said computer system comprising:
-
a memory; and a processor in communication with the memory, wherein the computer system is configured to perform a method, said method comprising; obtaining a transaction begin instruction, the transaction begin instruction comprising an opcode that specifies a transaction begin instruction of a particular type, and a field that specifies a general register save mask to explicitly specify a set of individually selected registers to be saved based on executing the transaction begin instruction, the transaction begin instruction to initiate a transaction, and the general register save mask explicitly specifying the set of individually selected registers to be saved at a start of the transaction and to be restored based on a transaction abort; and executing the transaction begin instruction, the executing the transaction begin instruction comprising saving contents of the set of individually selected registers explicitly specified in the general register save mask of the transaction begin instruction, and initiating execution of the transaction. - View Dependent Claims (12, 13, 14, 15)
-
-
16. A computer-implemented method of facilitating processing of transactions within a computing environment, said computer-implemented method comprising:
-
obtaining, by a processor, a transaction begin instruction, the transaction begin instruction comprising an opcode that specifies a transaction begin instruction of a particular type, and a field that specifies a general register save mask to explicitly specify a set of individually selected registers to be saved based on executing the transaction begin instruction, the transaction begin instruction to initiate a transaction, and the general register save mask explicitly specifying the set of individually selected registers to be saved at a start of the transaction and to be restored based on a transaction abort; and executing the transaction begin instruction, the executing the transaction begin instruction comprising saving contents of the set of individually selected registers explicitly specified in the general register save mask of the transaction begin instruction, and initiating execution of the transaction. - View Dependent Claims (17, 18, 19, 20)
-
Specification