Restricted instructions in transactional execution

US2016357553A1 · US · A1

Patent metadata
FieldValue
Publication numberUS-2016357553-A1
Application numberUS-201615238306-A
CountryUS
Kind codeA1
Filing dateAug 16, 2016
Priority dateJun 15, 2012
Publication dateDec 8, 2016
Grant date

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

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.

First claim

Opening claim text (preview).

What is claimed is: 1 . A computer-implemented method of performing processing associated with transactional execution in a computing environment, the computer-implemented method comprising: obtaining, by a processor, an instruction to be executed as part of a transaction; computing one or more effective controls from one or more controls set by one or more transaction begin instructions, 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; 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. 2 . The computer-implemented method of claim 1 , wherein the performing comprises aborting the transaction based on the instruction being selectively restricted. 3 . The computer-implemented method of claim 2 , wherein the performing further comprises based on aborting the transaction, storing an abort code in a transaction diagnostic block identified by one transaction begin instruction of the one or more transaction begin instructions and setting a condition code. 4 . The computer-implemented method of claim 1 , wherein the performing comprises executing the instruction based on the determining indicating the instruction is not selectively restricted. 5 . The computer-implemented method of claim 1 , wherein the one or more effective controls further comprise an effective allow floating point operation control that indicates whether specified floating point instructions are permitted to be executed. 6 . The computer-implemented method of claim 1 , wherein based on the instruction being selectively restricted, the instruction is restricted for one transaction but not restricted for another transaction. 7 . The computer-implemented method of claim 1 , further comprising obtaining another instruction to be executed in the transaction and checking whether the other instruction is a restricted instruction for transactional processing, wherein the performing processing aborts the transaction based on the other instruction being restricted. 8 . The computer-implemented method of claim 7 , further comprising determining whether the transaction is a constrained transaction or a nonconstrained transaction, and wherein the checking whether the other instruction is restricted is based on whether the transaction is constrained or nonconstrained. 9 . The computer-implemented method of claim 8 , further comprising executing the constrained transaction as a nonconstrained transaction based on the other instruction being restricted exclusively for constrained transactions. 10 . The computer-implemented method of claim 1 , further comprising: determining whether the transaction is a constrained transaction or a nonconstrained transaction; and providing an interrupt based on the transaction being a constrained transaction and the instruction being restricted. 11 . A computer-implemented method of performing processing associated with transactional execution in a computing environment, the computer-implemented method comprising: obtaining, by a processor, an instruction to be executed as part of a transaction; computing one or more effective controls from one or more controls set by one or more transaction begin instructions, wherein the one or more effective controls comprises an effective allow floating point operation control that indicates whether specified floating point instructions are permitted to be executed; 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. 12 . The computer-implemented method of claim 11 , wherein the performing comprises aborting the transaction based on the instruction being selectively restricted. 13 . The computer-implemented method of claim 12 , wherein the performing further comprises based on aborting the transaction, storing an abort code in a transaction diagnostic block identified by one transaction begin instruction of the one or more transaction begin instructions and setting a condition code. 14 . The computer-implemented method of claim 11 , further comprising obtaining another instruction to be executed in the transaction and checking whether the other instruction is a restricted instruction for transactional processing, wherein the performing processing aborts the transaction based on the other instruction being restricted. 15 . The computer-implemented method of claim 14 , further comprising determining whether the transaction is a constrained transaction or a nonconstrained transaction, and wherein the checking whether the other instruction is restricted is based on whether the transaction is constrained or nonconstrained. 16 . 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 instructions for execution by the processing circuit for performing a method comprising: obtaining, by a processor, an instruction to be executed as part of a transaction; computing one or more effective controls from one or more controls set by one or more transaction begin instructions, wherein the one or more effective controls comprises an effective allow floating point operation control that indicates whether specified floating point instructions are permitted to be executed; 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. 17 . The computer program product of claim 16 , wherein the performing comprises aborting the transaction based on the instruction being selectively restricted. 18 . The computer program product of claim 17 , wherein the performing further comprises based on aborting the transaction, storing an abort code in a transaction diagnostic block identified by one transaction begin instruction of the one or more transaction begin instructions and setting a condition code. 19 . The computer program product of claim 16 , wherein the method further comprises obtaining another instruction to be executed in the transaction and checking whether the other instruction is a restricted instruction for transactional processing, wherein the performing processing aborts the transaction based on the other instruction being restricted. 20 . The computer program product of claim 19 , wherein the method further comprises determining whether the transaction is a constrained transaction or a nonconstrained transaction, and wherein the checking whether the other instruction is restricted is based on whether the transaction is constrained or nonconstrained.

Assignees

Inventors

Classifications

  • by using speculative mechanisms · CPC title

  • Synchronisation or serialisation instructions · CPC title

  • Maintaining memory consistency · CPC title

  • G06F9/3004Primary

    to perform operations on memory · CPC title

  • Transactional memory (G06F9/528 takes precedence) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US2016357553A1 cover?
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…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F9/30087. Mapped technology areas include Physics.
When was this patent published?
Publication date Thu Dec 08 2016 00:00:00 GMT+0000 (Coordinated Universal Time) (A1). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).