Prefetch buffer for storing instructions prior to placing the instructions in an instruction cache
AssigneeAdvanced Micro Devices, Inc.
InventorsWilliam M. Johnson, Thang M. Tran, Matt T. Gavin, Mike Pedneau
Life of this patent
Estimating the term…
Loading patent…
AssigneeAdvanced Micro Devices, Inc.
InventorsWilliam M. Johnson, Thang M. Tran, Matt T. Gavin, Mike Pedneau
Estimating the term…
A microprocessor is configured to speculatively fetch cache lines of instruction bytes prior to actually detecting a cache miss for the cache lines of instruction bytes. The bytes transferred from an external main memory subsystem are stored into one of several prefetch buffers. Subsequently, instruction fetches may be detected which hit the prefetch buffers. Furthermore, predecode data may be generated for the instruction bytes stored in the prefetch buffers. When a fetch hit in the prefetch buffers is detected, predecode data may be available for the instructions being fetched. The prefetch buffers may each comprise an address prefetch buffer included within an external interface unit and an instruction data prefetch buffer included within a prefetch/predecode unit. The external interface unit maintains the addresses of cache lines assigned to the prefetch buffers in the address prefetch buffers. Both the linear address and the physical address of each cache line is maintained. The prefetch/predecode unit receives instruction bytes directly from the external interface and stores the instruction bytes in the corresponding instruction data prefetch buffer.
A method for prefetching, comprising:
An instruction buffer for storing instructions prior to their storage in an instruction cache of a microprocessor, comprising:
A microprocessor comprising:
Dependencies are inferred from the claim text.