Systems and methods for faster read after write forwarding using a virtual address

US10402322B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-10402322-B2
Application numberUS-201715686721-A
CountryUS
Kind codeB2
Filing dateAug 25, 2017
Priority dateAug 30, 2013
Publication dateSep 3, 2019
Grant dateSep 3, 2019

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.

Methods for read after write forwarding using a virtual address are disclosed. A method includes determining when a virtual address has been remapped from corresponding to a first physical address to a second physical address and determining if all stores occupying a store queue before the remapping have been retired from the store queue. Loads that are younger than the stores that occupied the store queue before the remapping are prevented from being dispatched and executed until the stores that occupied the store queue before the remapping have left the store queue and become globally visible.

First claim

Opening claim text (preview).

We claim: 1. A method for performing read after write forwarding in a processor, the method comprising: determining that a virtual address associated with a load instruction has been remapped from a first physical address to a second physical address; and delaying the load instruction from executing until all store instructions in a store queue that are older than the remapping of the virtual address from the first physical address to the second physical address have retired. 2. The method of claim 1 , further comprising: determining that all store instructions in the store queue that are older than the remapping of the virtual address from the first physical address to the second physical address have retired; and executing the load instruction in response to determining all store instructions in the store queue that are older than the remapping of the virtual address from the first physical address to the second physical address have retired. 3. The method of claim 1 , further comprising: determining that the virtual address of the load instruction is the same as a store instruction in the store queue, wherein delaying the execution of the load instruction is performed in response to determining that the virtual address of the load instruction is the same as the store instruction in the store queue. 4. The method of claim 3 , wherein the second physical address is different from a physical address of the store instruction. 5. The method of claim 1 , wherein determining that the virtual address associated with the load instruction has been remapped from the first physical address to the second physical address is based on an indicator provided by an operating system. 6. The method of claim 1 , wherein upon a store instruction being retired, the store instruction is globally visible in the processor. 7. The method of claim 1 , wherein the method is performed by a cache controller of a cache of the processor. 8. A processor for performing read after write forwarding, the processor comprising: a remapping determiner to determine that a virtual address associated with a load instruction has been remapped from a first physical address to a second physical address; and a load enabler to delay the load instruction from executing until all store instructions in a store queue that are older than the remapping of the virtual address from the first physical address to the second physical address have retired. 9. The processor of claim 8 , further comprising: a store retirement determiner to determine that all store instructions in the store queue that are older than the remapping of the virtual address from the first physical address to the second physical address have retired such that the load instruction is executed only after determining all store instructions in the store queue that are older than the remapping of the virtual address from the first physical address to the second physical address have retired. 10. The processor of claim 8 , wherein the virtual address of the load instruction is the same as a store instruction in the store queue, and wherein the load enabler delays the execution of the load instruction in response to determining that the virtual address of the load instruction is the same as the store instruction in the store queue. 11. The processor of claim 10 , wherein the second physical address is different from a physical address of the store instruction. 12. The processor of claim 8 , wherein the remapping determiner determines that the virtual address associated with the load instruction has been remapped from the first physical address to the second physical address is based on an indicator provided by an operating system. 13. The processor of claim 8 , wherein upon a store instruction being retired, the store instruction is globally visible in the processor. 14. A non-transitory machine-readable medium storing instruction that when executed by a processor, cause the processor to: determine that a virtual address associated with a load instruction has been remapped from a first physical address to a second physical address; and delay the load instruction from executing until all store instructions in a store queue that are older than the remapping of the virtual address from the first physical address to the second physical address have retired. 15. The non-transitory machine-readable medium of claim 14 , wherein the instructions when executed by the processor further cause the processor to: determine that all store instructions in the store queue that are older than the remapping of the virtual address from the first physical address to the second physical address have retired; and execute the load instruction in response to determining all store instructions in the store queue that are older than the remapping of the virtual address from the first physical address to the second physical address have retired. 16. The non-transitory machine-readable medium of claim 14 , wherein the instructions when executed by the processor further cause the processor to: determine that the virtual address of the load instruction is the same as a store instruction in the store queue, wherein delaying the execution of the load instruction is performed in response to determining that the virtual address of the load instruction is the same as the store instruction in the store queue. 17. The non-transitory machine-readable medium of claim 16 , wherein the second physical address is different from a physical address of the store instruction. 18. The non-transitory machine-readable medium of claim 14 , wherein determining that the virtual address associated with the load instruction has been remapped from the first physical address to the second physical address is based on an indicator provided by an operating system. 19. The non-transitory machine-readable medium of claim 14 , wherein upon a store instruction.

Assignees

Inventors

Classifications

  • Performance improvement · CPC title

  • Maintaining memory consistency · CPC title

  • Bypassing or forwarding of data results, e.g. locally between pipeline stages or within a pipeline stage · CPC title

  • Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches · CPC title

  • Address translation · 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 US10402322B2 cover?
Methods for read after write forwarding using a virtual address are disclosed. A method includes determining when a virtual address has been remapped from corresponding to a first physical address to a second physical address and determining if all stores occupying a store queue before the remapping have been retired from the store queue. Loads that are younger than the stores that occupied the…
Who is the assignee on this patent?
Intel Corp
What technology area does this patent fall under?
Primary CPC classification G06F12/0802. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Sep 03 2019 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 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).