Instruction to cancel outstanding cache prefetches

US9535696B1 · US · B1

Patent metadata
FieldValue
Publication numberUS-9535696-B1
Application numberUS-201614987411-A
CountryUS
Kind codeB1
Filing dateJan 4, 2016
Priority dateJan 4, 2016
Publication dateJan 3, 2017
Grant dateJan 3, 2017

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.

Techniques relate to handling outstanding cache miss prefetches. A processor pipeline recognizes that a prefetch canceling instruction is being executed. In response to recognizing that the prefetch canceling instruction is being executed, all outstanding prefetches are evaluated according to a criterion as set forth by the prefetch canceling instruction in order to select qualified prefetches. In response to evaluating, a cache subsystem is communicated with to cause canceling of the qualified prefetches that fit the criterion. In response to successful canceling of the qualified prefetches, a local cache is prevented from being updated from the qualified prefetches.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer implemented method for handling outstanding cache miss prefetches, the method comprising: recognizing by a processor pipeline that a prefetch canceling instruction is being executed, wherein the prefetch canceling instruction has been inserted immediately after or before a transaction in which the transaction is known in advance to have a likelihood of utilizing a predefined amount of hardware transactional support structures; in response to recognizing that the prefetch canceling instruction is being executed, evaluating all outstanding prefetches according to a criterion as set forth by the prefetch canceling instruction in order to select qualified prefetches; in response to evaluating, communicating with a cache subsystem to cause canceling of the qualified prefetches that fit the criterion, wherein the prefetch canceling instruction cancels the qualified prefetches that are not linked with any pending instructions; and in response to successful canceling of the qualified prefetches, preventing a local cache from being updated from the qualified prefetches. 2. The method of claim 1 , wherein the criterion comprises canceling outstanding cache miss requests that are not required by any outstanding instructions. 3. The method of claim 1 , wherein the criterion comprises cancelling outstanding cache miss requests that are generated by a pattern based prefetcher engine. 4. The method of claim 1 , wherein the criterion indicates no qualification is required such that the all outstanding prefetches are to be canceled. 5. The method of claim 1 , wherein the prefetch cancelling instruction is configured to cause an additional action to stop a pattern based prefetcher engine until a context switch or until a pre-set time duration expires. 6. The method of claim 5 , wherein the pattern based prefetcher engine previously stopped is to resume operation when a transaction completes. 7. The method of claim 1 , wherein the prefetch cancel instruction is configured to specify a beginning of a transaction, where the transaction is a group of instructions that operate in an atomic manner. 8. A computer program product for handling outstanding cache miss prefetches, the computer program product comprising: a computer readable storage medium having program instructions embodied therewith, the program instructions readable by a processing circuit to cause the processing circuit to perform steps comprising: recognizing by a processor pipeline that a prefetch canceling instruction is being executed, wherein the prefetch canceling instruction has been inserted immediately after or before a transaction in which the transaction is known in advance to have a likelihood of utilizing a predefined amount of hardware transactional support structures; in response to recognizing that the prefetch canceling instruction is being executed, evaluating all outstanding prefetches according to a criterion as set forth by the prefetch canceling instruction in order to select qualified prefetches; in response to evaluating, communicating with a cache subsystem to cause canceling of the qualified prefetches that fit the criterion, wherein the prefetch canceling instruction cancels the qualified prefetches that are not linked with any pending instructions; and in response to successful canceling of the qualified prefetches, preventing a local cache from being updated from the qualified prefetches. 9. The computer program product of claim 8 , wherein the criterion comprises canceling outstanding cache miss requests that are not required by any outstanding instructions. 10. The computer program product of claim 8 , wherein the criterion comprises cancelling outstanding cache miss requests that are generated by a pattern based prefetcher engine. 11. The computer program product of claim 9 , wherein the criterion indicates no qualification is required such that the all outstanding prefetches are to be canceled. 12. The computer program product of claim 9 , wherein the prefetch cancelling instruction is configured to cause an additional action to stop a pattern based prefetcher engine until a context switch or until a pre-set time duration expires. 13. The computer program product of claim 12 , wherein the pattern based prefetcher engine previously stopped is to resume operation when a transaction completes. 14. The computer program product of claim 9 , wherein the prefetch cancel instruction is configured to specify a beginning of a transaction, where the transaction is a group of instructions that operate in an atomic manner. 15. A computer system for handling outstanding cache miss prefetches, the system comprising: a memory; and a processor, communicatively coupled to the memory, the computer system configured to perform steps comprising: recognizing by a processor pipeline that a prefetch canceling instruction is being executed, wherein the prefetch canceling instruction has been inserted immediately after or before a transaction in which the transaction is known in advance to have a likelihood of utilizing a predefined amount of hardware transactional support structures; in response to recognizing that the prefetch canceling instruction is being executed, evaluating all outstanding prefetches according to a criterion as set forth by the prefetch canceling instruction in order to select qualified prefetches; in response to evaluating, communicating with a cache subsystem to cause canceling of the qualified prefetches that fit the criterion, wherein the prefetch canceling instruction cancels the qualified prefetches that are not linked with any pending instructions; and in response to successful canceling of the qualified prefetches, preventing a local cache from being updated from the qualified prefetches. 16. The computer system of claim 15 , wherein the criterion comprises canceling outstanding cache miss requests that are not required by any outstanding instructions. 17. The computer system of claim 15 , wherein the criterion comprises cancelling outstanding cache miss requests that are generated by a pattern based prefetcher engine. 18. The computer system of claim 15 , wherein the criterion indicates no qualification is required such that the all outstanding prefetches are to be canceled. 19. The computer system of claim 15 , wherein the prefetch cancelling instruction is configured to cause an additional action to stop a pattern based prefetcher engine until a context switch or until a pre-set time duration expires. 20. The computer system of claim 19 , wherein the pattern based prefetcher engine previously stopped is to resume operation when a transaction completes.

Assignees

Inventors

Classifications

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 US9535696B1 cover?
Techniques relate to handling outstanding cache miss prefetches. A processor pipeline recognizes that a prefetch canceling instruction is being executed. In response to recognizing that the prefetch canceling instruction is being executed, all outstanding prefetches are evaluated according to a criterion as set forth by the prefetch canceling instruction in order to select qualified prefetches.…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F12/0862. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jan 03 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B1). 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).