×

Method and apparatus to use hardware alias detection and management in a virtually indexed physically tagged cache

  • US 9,934,152 B1
  • Filed: 02/17/2016
  • Issued: 04/03/2018
  • Est. Priority Date: 02/17/2015
  • Status: Active Grant
First Claim
Patent Images

1. An apparatus comprising:

  • a cache comprising slots, wherein each of the slots comprises one or more ways and one or more tags; and

    a controller coupled with the cache, wherein the controller is configured to;

    receive a cache request that specifies a virtual address, the virtual address comprising a virtual page number and a page offset,access, concurrently, (i) one or more primary tags in a slot of the slots corresponding to a primary cache index that is based on a portion of the page offset and a portion of the virtual page number and (ii) one or more secondary tags in one or more slots of the slots corresponding to one or more secondary cache indices that are based on the portion of the page offset and one or more variations of the portion of the virtual page number,determine a physical page number that is associated with the virtual page number,compare the physical page number to the one or more primary tags to determine whether there is a primary matching way,compare the physical page number to the one or more secondary tags to determine whether there are one or more secondary matching ways,if the cache request is associated with a load instruction, return read data from the primary matching way or the one or more secondary matching ways, andif the cache request is associated with a store instruction, write store data to the primary matching way if it exists and perform an alias management operation if the one or more secondary matching ways exist.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×