Patent ID: 8782374

Claim:
A method for maintaining inclusion of a TLB (translation lookaside buffer), the method comprising: accessing a particular TLB entry of a plurality of TLB entries; responsive to accessing the particular TLB entry, setting an inclusion indication associated with the particular TLB entry to indicate that one or more micro-operations (micro-ops) derived from the particular TLB entry are included in a portion of a micro-op cache, the inclusion indication separate from valid bits, each of the valid bits corresponding to a unique line of the micro-op cache; responsive to a replacement or an invalidation of the particular TLB entry, if the inclusion indication associated with the particular TLB entry was set: flushing the micro-op cache portion including the one or more micro-ops derived from the particular TLB entry; and clearing a set of inclusion indications associated with a set of TLB entries, wherein a set of micro-ops derived from the set of TLB entries is included in the micro-op cache portion.