Instruction cache prefetch throttle

US11620224B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11620224-B2
Application numberUS-201916709831-A
CountryUS
Kind codeB2
Filing dateDec 10, 2019
Priority dateDec 10, 2019
Publication dateApr 4, 2023
Grant dateApr 4, 2023

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 for controlling prefetching of instructions into an instruction cache are provided. The techniques include tracking either or both of branch target buffer misses and instruction cache misses, modifying a throttle toggle based on the tracking, and adjusting prefetch activity based on the throttle toggle.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for controlling prefetching of instructions into an instruction cache, the method comprising: tracking a number of misses in a branch target buffer and the instruction cache, wherein the number of misses indicates a number of consecutive branch target buffer and instruction cache misses; modifying a throttle toggle based on the tracking; and adjusting prefetch activity for the instruction cache based on the throttle toggle. 2. The method of claim 1 , further comprising: modifying a throttling degree based on the tracking, wherein the throttling degree indicates a degree to which throttling occurs, wherein adjusting the prefetch activity is also performed based on the throttling degree. 3. The method of claim 1 , wherein: the tracking comprises detecting that the number of consecutive branch target buffer and instruction cache misses is above a first threshold, and, in response, the modifying comprises setting the throttle toggle to indicate that instruction cache prefetching is to be throttled. 4. The method of claim 1 , wherein: the tracking comprises detecting that the number of consecutive branch target buffer and instruction cache misses is not above a first threshold, and, in response, the modifying comprises setting the throttle toggle to indicate that instruction cache prefetching is not to be throttled. 5. The method of claim 1 , wherein: the tracking comprises detecting that the number of consecutive branch target buffer and instruction cache misses is above a first threshold and that a number of outstanding branch target buffer and instruction cache misses is above a second threshold, and, in response, the modifying comprises setting the throttle toggle to indicate that instruction cache prefetching is to be throttled. 6. The method of claim 1 , wherein the tracking comprises: not determining the number of misses in the instruction cache. 7. The method of claim 1 , wherein the tracking comprises: not determining the number of misses in the branch target buffer. 8. The method of claim 2 , wherein the throttling degree indicates one of a number of instructions that are prefetched or a number of caches into which prefetching of instructions occurs. 9. An instruction fetching system for controlling prefetching of instructions into an instruction cache, the instruction fetching system comprising: a branch target buffer; and a miss tracker configured to: track a number of misses in a branch target buffer and the instruction cache, wherein the number of misses indicates a number of consecutive branch target buffer and instruction cache misses; modify a throttle toggle based on the tracking; and adjust prefetch activity for the instruction cache based on the throttle toggle. 10. The instruction fetching system of claim 9 , wherein the miss tracker is further configured to: modify a throttling degree based on the tracking, wherein the throttling degree indicates a degree to which throttling occurs, wherein adjusting the prefetch activity is also performed based on the throttling degree. 11. The instruction fetching system of claim 9 , wherein the miss tracker is further configured to: detect that the number of consecutive branch target buffer and instruction cache misses is above a first threshold, and, in response, the modifying comprises setting the throttle toggle to indicate that instruction cache prefetching is to be throttled. 12. The instruction fetching system of claim 9 , wherein the miss tracker is further configured to: detect that the number of consecutive branch target buffer and instruction cache misses is not above a first threshold, and, in response, the modifying comprises setting the throttle toggle to indicate that instruction cache prefetching is not to be throttled. 13. The instruction fetching system of claim 9 , wherein the miss tracker is further configured to: detect that the number of consecutive branch target buffer and instruction cache misses is above a first threshold and that a number of outstanding branch target buffer and instruction cache misses is above a second threshold, and, in response, the modifying comprises setting the throttle toggle to indicate that instruction cache prefetching is to be throttled. 14. The instruction fetching system of claim 9 , wherein: the tracking comprises not determining the number of misses in the instruction cache. 15. The instruction fetching system of claim 9 , wherein: the tracking comprises not determining the number of misses in the branch target buffer. 16. The instruction fetching system of claim 10 , wherein the throttling degree indicates one of a number of instructions that are prefetched or a number of caches into which prefetching of instructions occurs. 17. A processor comprising: an instruction cache; a branch target buffer; and a miss tracker configured to: track a number of misses in the branch target buffer and the instruction cache, wherein the number of misses indicates a number of consecutive branch target buffer and instruction cache misses; modify a throttle toggle based on the tracking; and adjust prefetch activity for the instruction cache based on the throttle toggle. 18. The processor of claim 17 , wherein the miss tracker is further configured to: modify a throttling degree based on the tracking, wherein the throttling degree indicates a degree to which throttling occurs, wherein adjusting the prefetch activity is also performed based on the throttling degree. 19. The processor of claim 17 , wherein the miss tracker is further configured to: detect that the number of consecutive branch target buffer and instruction cache misses is above a first threshold, and, in response, the modifying comprises setting the throttle toggle to indicate that instruction cache prefetching is to be throttled. 20. The processor of claim 17 , wherein the miss tracker is further configured to: detect that the number of consecutive branch target buffer and instruction cache misses is not above a first threshold, and, in response, the modifying comprises setting the throttle toggle to indicate that instruction cache prefetching is not to be throttled. 21. The processor of claim 17 , wherein the miss tracker is further configured to: detect that the number of consecutive branch target buffer and instruction cache misses is above a first threshold and that a number of outstanding branch target buffer and instruction cache misses is above a second threshold, and, in response, the modifying comprises setting the throttle toggle to indicate that instruction cache prefetching is to be throttled. 22. The processor of claim 17 , wherein: the tracking comprises not determining the number of misses in the instruction cache. 23. The processor of claim 17 , wherein: the tracking comprises not determining the number of misses in the branch target buffer. 24. The processor of claim 18 , wherein the throttling degree indicates one of a number of instructions that are prefetched or a number of caches into which prefetching of instructions occurs.

Assignees

Inventors

Classifications

  • with dedicated cache, e.g. instruction or stack · CPC title

  • Details relating to cache prefetching · CPC title

  • Hit rate improvement · CPC title

  • with prefetch · CPC title

  • for instruction reuse, e.g. trace cache, branch target cache · 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 US11620224B2 cover?
Techniques for controlling prefetching of instructions into an instruction cache are provided. The techniques include tracking either or both of branch target buffer misses and instruction cache misses, modifying a throttle toggle based on the tracking, and adjusting prefetch activity based on the throttle toggle.
Who is the assignee on this patent?
Advanced Micro Devices Inc
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 Apr 04 2023 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).