Restricted instructions in transactional execution
First Claim
Patent Images
1. A computer program product for performing processing associated with transactional execution in a computing environment, the computer program product comprising:
- a computer readable storage medium readable by a processing circuit and storing program instructions for execution by the processing circuit for performing a method comprising;
executing a plurality of transaction begin instructions to initiate a plurality of transactions, the plurality of transactions creating a nest of transactions;
obtaining, by a processor, an instruction to be executed as part of a transaction of the nest of transactions;
computing one or more effective controls from one or more controls set by the plurality of transaction begin instructions, the one or more effective controls indicating whether one or more particular types of instructions, as indicated by the one or more effective controls, are permitted to be executed, wherein the one or more effective controls comprises an effective allow access register modification control that indicates whether an access register is permitted to be modified, and wherein the computing comprises determining a value for the effective allow access register modification control, wherein the determining the value for the effective allow access register modification control comprises performing a logical AND of the allow access register modification controls of the plurality of transaction begin instructions;
allow access register modification controls of the plurality of transaction begin instructions;
determining by the processor whether the instruction is a selectively restricted instruction that is prohibited from execution within the transaction, the determining being based on the computed one or more effective controls; and
performing processing associated with the instruction based on whether the instruction is selectively restricted.
1 Assignment
0 Petitions
Accused Products
Abstract
Restricted instructions are prohibited from execution within a transaction. There are classes of instructions that are restricted regardless of type of transaction: constrained or nonconstrained. There are instructions only restricted in constrained transactions, and there are instructions that are selectively restricted for given transactions based on controls specified on instructions used to initiate the transactions.
-
Citations
18 Claims
-
1. A computer program product for performing processing associated with transactional execution in a computing environment, the computer program product comprising:
-
a computer readable storage medium readable by a processing circuit and storing program instructions for execution by the processing circuit for performing a method comprising; executing a plurality of transaction begin instructions to initiate a plurality of transactions, the plurality of transactions creating a nest of transactions; obtaining, by a processor, an instruction to be executed as part of a transaction of the nest of transactions; computing one or more effective controls from one or more controls set by the plurality of transaction begin instructions, the one or more effective controls indicating whether one or more particular types of instructions, as indicated by the one or more effective controls, are permitted to be executed, wherein the one or more effective controls comprises an effective allow access register modification control that indicates whether an access register is permitted to be modified, and wherein the computing comprises determining a value for the effective allow access register modification control, wherein the determining the value for the effective allow access register modification control comprises performing a logical AND of the allow access register modification controls of the plurality of transaction begin instructions; allow access register modification controls of the plurality of transaction begin instructions; determining by the processor whether the instruction is a selectively restricted instruction that is prohibited from execution within the transaction, the determining being based on the computed one or more effective controls; and performing processing associated with the instruction based on whether the instruction is selectively restricted. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer system for performing processing associated with transactional execution in a computing environment, the computer system comprising:
-
a memory; and a processor in communications with the memory, wherein the computer system is configured to perform a method, said method comprising; executing a plurality of transaction begin instructions to initiate a plurality of transactions, the plurality of transactions creating a nest of transactions; obtaining, by the processor, an instruction to be executed as part of a transaction of the nest of transactions; computing one or more effective controls from one or more controls set by the plurality of transaction begin instructions, the one or more effective controls indicating whether one or more particular types of instructions, as indicated by the one or more effective controls, are permitted to be executed, wherein the one or more effective controls comprises an effective allow access register modification control that indicates whether an access register is permitted to be modified, and wherein the computing comprises determining a value for the effective allow access register modification control, wherein the determining the value for the effective allow access register modification control comprises performing a logical AND of the allow access register modification controls of the plurality of transaction begin instructions; determining by the processor whether the instruction is a selectively restricted instruction that is prohibited from execution within the transaction, the determining being based on the computed one or more effective controls; and performing processing associated with the instruction based on whether the instruction is selectively restricted. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
Specification