WO2005024635A2 - Microtlb and micro tag for reducing power in a processor - Google Patents
Microtlb and micro tag for reducing power in a processor Download PDFInfo
- Publication number
- WO2005024635A2 WO2005024635A2 PCT/US2004/018042 US2004018042W WO2005024635A2 WO 2005024635 A2 WO2005024635 A2 WO 2005024635A2 US 2004018042 W US2004018042 W US 2004018042W WO 2005024635 A2 WO2005024635 A2 WO 2005024635A2
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- cache
- tag
- hit
- tlb
- virtual address
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/0802—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F12/0864—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches using pseudo-associative means, e.g. set-associative or hashing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/10—Address translation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/10—Address translation
- G06F12/1027—Address translation using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/10—Address translation
- G06F12/1027—Address translation using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB]
- G06F12/1045—Address translation using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB] associated with a data cache
- G06F12/1063—Address translation using associative or pseudo-associative address translation means, e.g. translation look-aside buffer [TLB] associated with a data cache the data cache being concurrently virtually addressed
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/38—Concurrent instruction execution, e.g. pipeline, look ahead
- G06F9/3824—Operand accessing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/30—Arrangements for executing machine instructions, e.g. instruction decode
- G06F9/38—Concurrent instruction execution, e.g. pipeline, look ahead
- G06F9/3824—Operand accessing
- G06F9/383—Operand prefetching
- G06F9/3832—Value prediction for operands; operand history buffers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/60—Details of cache memory
- G06F2212/608—Details relating to cache mapping
- G06F2212/6082—Way prediction in set-associative cache
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/65—Details of virtual memory and virtual address translation
- G06F2212/652—Page size control
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Definitions
- TITLE MICROTLB AND MICRO TAG FOR REDUCING POWER IN A PROCESSOR
- This invention is related to the field of processors and, more particularly, to caching structures in processors.
- Processors typically implement virtual addressing, and also typically implement caches for storing recently accessed data and/or instructions.
- the processor generates a virtual address of a location to be accessed (i.e. read or written), and the virtual address is translated to a physical address to determine if the access hits in the cache.
- the cache access is typically started in parallel with the translation, and the translation is used to detect if the cache access is a hit.
- the cache access is typically one of the critical timing paths in the processor, and cache latency is also typically critical to the performance level achievable by the processor. Accordingly, processor designers often attempt to optimize their cache/translation designs to reduce cache latency and to meet timing requirements. However, many of the optimization techniques may increase the power consumption of the cache/translation circuitry.
- the cache/translation circuitry may be one of the largest contributors to the overall power consumption of the processor. As power consumption in processors has increased over time, the importance of controlling processor power consumption (and designing processors for reduced power consumption) has increased. Since the cache/translation circuitry is often a major contributor to power consumption of a processor, techniques for reducing power consumption in the cache/translation circuitry have become even more desirable.
- set associative caches are often implemented in processors. In a set associative cache, a given address indexing into the cache selects a set of two or more cache line storage locations which may be used to store the cache line indicated by that address.
- the cache line storage locations in the set are referred to as the ways of the set, and a cache having W ways is referred to as W-way set associative (where W is an integer greater than one).
- Set associative caches typically have higher hit rates than direct-mapped caches of the same size, and thus may provide higher performance than direct-mapped caches.
- conventional set associative caches may also typically consume more power than direct-mapped caches of the same size.
- the cache includes a data memory storing the cached data and a tag memory storing a tag identifying the address of the cached data. In a conventional set associative cache, each way of the data memory and the tag memory is accessed in response to an input address.
- the tags corresponding to each way in the set may be compared to determine which way is hit by the address (if any), and the data from the corresponding way is selected for output by the cache.
- each way of the data memory and the tag memory may be accessed, consuming power.
- the tag memory and data memory access may be optimized for timing and latency, which further increase power consumption.
- the caches are typically tagged with the physical address, and thus the translation circuitry is also typically in the critical path and thus optimized for timing and latency, which may increase power consumption in the translation circuitry.
- a processor comprises a cache, a first translation lookaside buffer (TLB), and a tag circuit coupled to the first TLB.
- the cache comprises a data memory configured to store a plurality of cache lines and a tag memory configured to store a plurality of tags. Each of the plurality of tags corresponds to a respective one of the plurality of cache lines.
- the first TLB is configured to store a plurality of page portions of virtual addresses identifying a plurality of virtual pages for which physical address translations are stored in the first TLB.
- the tag circuit is configured to identify one or more of the plurality of cache lines that are stored in the cache and are within the plurality of virtual pages.
- the tag circuit In response to a hit by a first virtual address in the first TLB and a hit by the first virtual address in the tag circuit, the tag circuit is configured to prevent a read of the tag memory in the cache.
- a method is contemplated.
- a first TLB is accessed with a first virtual address.
- the first TLB is configured to store a plurality of page portions of virtual addresses identifying a plurality of virtual pages for which physical address translations are stored in the first TLB.
- a tag circuit In response to a hit by the first virtual address in the first TLB, a tag circuit is accessed.
- the tag circuit is configured to identify a plurality of cache lines that are stored in a cache and are within the plurality of virtual pages. A hit is detected by the first virtual address in the first TLB and the tag circuit.
- a processor comprises a cache and a tag circuit.
- the cache comprises a data memory configured to store a plurality of cache lines and a tag memory configured to store a plurality of tags. Each of the plurality of tags corresponds to a respective one of the plurality of cache lines.
- the tag circuit is configured to detect a hit in the cache by a first virtual address for a subset of the plurality of cache lines. In response to a hit by the first virtual address in the tag circuit, the tag circuit is configured to prevent a read of the tag memory, and wherein the data memory is configured to output at least a portion of a first cache line corresponding to the first virtual address.
- Fig. 1 is a block diagram of a portion of one embodiment of a processor.
- Fig. 2 is a block diagram of one embodiment of a translation and filter block shown in Fig. 1.
- Fig. 3 is a timing diagram illustrating one embodiment of a pipeline that may be implemented by one embodiment of the processor.
- Fig. 4 is a block diagram of one embodiment of a microTLB tag circuit.
- Fig. 5 is a block diagram of one embodiment of a truth table corresponding to a control circuit shown in
- Fig. 6 is a block diagram of one embodiment of a microTLB data circuit.
- Fig. 7 is a block diagram of one embodiment of a micro tag circuit.
- Fig. 8 is a flowchart illustrating operation of one embodiment of the blocks shown in Fig. 2.
- Fig. 9 is a block diagram of one embodiment of a way predictor shown in Fig. 1.
- Fig. 10 is a flowchart illustrating one embodiment of selecting a replacement way in response to a cache miss.
- Fig. 11 is a block diagram of one embodiment of a portion of the data cache data memory shown in Fig. 1.
- Fig. 12 is a block diagram of a second embodiment of a portion of the data cache data memory shown in Fig. 1.
- FIG. 13 is a block diagram of a third embodiment of a portion of the data cache data memory shown in Fig. 1.
- Fig. 14 is a flowchart illustrating one embodiment of generating a way prediction.
- Fig. 15 is a block diagram of one embodiment of a computer system including the processor shown in Fig. 1.
- Fig. 16 is a block diagram of a second embodiment of a computer system including the processor shown in Fig. 1. While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the drawings and detailed description thereto are not intended to limit the invention to the particular form disclosed, but on the contrary, the intention is to cover all modifications, equivalents and alternatives falling within the spirit and scope of the present invention as defined by the appended claims.
- the processor 10 includes an address generation unit (AGU) 12, a way predictor 14, a data cache 16, and a translation/filter circuit 18.
- the data cache 16 comprises a data cache data memory 20 and a data cache tag memory 22.
- the AGU 12 and the way predictor 14 are coupled to receive address operands.
- the AGU 12 is configured to generate a virtual address (VA), and is coupled to provide the virtual address to the way predictor 14, the data cache 16 (and more particularly to the data cache data memory 20 and the data cache tag memory 22), and the translation/filter circuit 18.
- VA virtual address
- the way predictor 14 is coupled to provide a way prediction to the data cache data memory 20, which is configured to forward data in response to the way prediction and the virtual address.
- the way predictor 14 is also coupled to provide an early miss indication.
- the translation/filter circuit 18 is coupled to the data cache 16, and is coupled to provide a translation lookaside buffer (TLB) miss indication.
- TLB translation lookaside buffer
- the data cache 16 is configured to generate a cache miss indication.
- the AGU 12 is coupled to receive the address operands for a memory operation, and is configured to generate a virtual address responsive to the address operands.
- the AGU 12 may comprise adder circuitry configured to add the address operands to produce the virtual address.
- memory operations may include load operations (which read a memory location) and store operations (which write a memory location).
- Memory operations may be an implicit part of an instruction which specifies a memory operand, in some embodiments, or may be an explicit operation performed in response to a load or store instruction (also sometimes referred to as a move instruction).
- Address operands may be operands of the instruction corresponding to the memory operation that are defined to be used for generating the address of the memory operand.
- Address operands may include one or more of: register values from registers implemented by the processor 10, displacement data encoded into the instruction, and, in some embodiments, a segment base address from a segmentation mechanism implemented by the processor 10.
- a virtual address may comprise an address generated from the address operands of an instruction that has not yet been translated through the paging translation mechanism to a physical address (used to address memory in a computer system that includes the processor 10).
- the processor 10 may implement the x86 instruction set architecture (also known as IA-32).
- the linear address may be an example of a virtual address. If paging translation is not enabled, the virtual address may be equal to the physical address.
- the paging mechanism implemented by the processor 10 translates virtual addresses to physical addresses on a page granularity. That is, there may be one translation entry that is used for each virtual address in the page to identify the corresponding physical address.
- the page may be of any size. For example, 4 kilobytes is a typical size.
- the x86 instruction set also specifies a 2 Megabyte page size and a 4 Megabyte page size in some modes.
- the least significant bits of virtual addresses define an offset within the page, and are not translated by the paging mechanism. For example, with a 4 kilobyte page size, the least significant 12 bits of the virtual addresses form the page offset. The remaining bits of a virtual address, excluding the page offset, may form the page portion of the virtual address. The page portion may be used in the paging mechanism to select a physical address translation for the virtual address. Viewed in another way, the page portion of the virtual address may define a virtual page that is translated to a physical page by the physical address translation.
- the processor 10 may employ one or more techniques to reduce power consumption.
- the translation filter circuit 18 may include a relatively small TLB (referred to as a microTLB herein) and a tag circuit (referred to herein as a micro tag circuit).
- the micro tag circuit may be configured to store a relatively small number of tags of cache lines which are: (i) in the virtual pages for which the microTLB is storing translations; and (ii) stored in the data cache 16.
- the microTLB may be accessed in response to a virtual address and, if a hit in the microTLB is detected, then an access to a larger main TLB (or TLBs) in the translation filter circuit 18 may be avoided. The power that would be consumed in accessing the main TLB may be conserved in such a case.
- the micro tag may be accessed. If a hit in the micro tag is detected, a read of the data cache tag memory 22 to determine a cache hit/miss may be avoided as well (and thus the power that would be consumed in accessing the data cache tag memory 22 may be conserved as well). In either case (a hit in the micro tag or a hit in the data cache tag memory 22), the data from the hitting cache line may be forwarded from the data cache data memory 20.
- the microTLB may serve as a filter for accesses to the main TLB, and the microTLB and micro tag may serve as a filter for accesses to the data cache tag memory 22.
- the way predictor 14 uses the way predictor 14 for embodiments in which the data cache 16 is set associative.
- the way predictor 14 generates a way prediction for the data cache data memory 20 for a memory operation accessing the data cache 16.
- the data cache data memory 20 may forward data (Data Forward in Fig. 1) to various processor circuitry that may use the data (not shown in Fig. 1).
- the data read from the data cache data memory 20 and forwarded may comprise a cache line or a portion of a cache line. Since data is forwarded in response to the way prediction, the translation circuitry and the cache tag circuitry may no longer be part of the critical path in the processor 10.
- the translation circuitry and cache tag circuitry may be implemented using circuitry that has lower power consumption, even at the expense of some latency in the circuitry.
- the filter structures such as the microTLB and the micro tag may be permitted to increase the latency of the translation circuitry and cache tag comparisons (and may further reduce overall power consumption by reducing access to the larger TLB structures and the data cache tag memory 22).
- the way predictor 14 may be used to reduce the power consumption of the processor 10 by permitting reduced power consumption in the data cache data memory 20.
- Various designs for the data cache data memory 20 are described in more detail below with regard to Fig. 9.
- the way prediction may be validated using the microTLB/micro tag of the translation/filter circuit 18 and/or a tag comparison with a tag or tags from the data cache tag memory 22. If the way prediction is correct, operation may continue with the data forwarded by the data cache data memory 20 in response to the way prediction. On the other hand, if the way prediction is incorrect, the memory operation may be reattempted. Alternatively, in some embodiments, the data cache 16 may control replacement such that, if the way prediction is incorrect, the address is a miss in the data cache 16. In some embodiments, the correct way prediction may be determined during the validation of the way prediction, and the correct way may be accessed during the reattempt.
- the unpredicted ways may be searched for a hit (e.g., a conventional set associative lookup in the data cache 16 may be performed).
- the reattempt may be accomplished in a variety of ways.
- a buffer may store instructions that have been issued for execution (e.g. a scheduler or reservation station).
- the memory operation may be reissued from the buffer.
- the instruction corresponding to the memory operation and subsequent instructions may be refetched (e.g. from an instruction cache or from memory).
- the use of the way predictor 14 may reduce power consumption in the data cache tag memory 22. To validate the way prediction, only the tag in the predicted way need be accessed and compared.
- Some embodiments may thus access only the predicted way in the data cache tag memory 22 (if a miss in the micro tag is detected, and thus an access in the data cache tag memory 22 is performed to detect whether or not a cache miss occurs). If a miss is detected in the predicted way, the memory operation may be reattempted as described above.
- the data cache tag memory 22 may receive the way prediction as illustrated by the dotted arrow in Fig. 1.
- the way predictor 14 may also provide an early miss indication if no way prediction may be generated for a given memory operation.
- the way predictor may include a memory that stores an indication of the address stored in each way of the cache, and may compare the indication to a corresponding indication of the virtual address of the memory operation to generate the way prediction of the memory operation.
- the early miss indication may be used as a hint to an L2 cache (with the data cache 16 serving as the LI cache) that a miss in the data cache 16 is occurring and thus permitting the L2 cache to begin an access earlier in time than waiting for the cache miss from the translation/filter circuit 18.
- the data cache 16 may indicate cache miss and the translation/filter circuit 18 may indicate TLB miss to other circuitry in the processor 10 for corrective action (e.g. table walking to locate a translation to be stored in the TLBs, a cache fill to fill the missing cache line into the data cache 16, etc.).
- a cache line may be a number of contiguous bytes that is the unit of allocation/deallocation in a cache (e.g. a data cache or instruction cache). For example, a cache line may be 32 contiguous bytes or 64 contiguous bytes, although any size cache line may be implemented.
- the data cache data memory 20 may comprise a plurality of entries, each entry configured to store a cache line.
- the entries may be arranged into sets of W cache lines, for set associative embodiments.
- the data cache tag memory 22 also comprises a plurality of entries, each entry configured to store a tag for a corresponding entry in the data cache data memory 20.
- the data cache tag memory 22 entries may be arranged into sets of W, corresponding to the arrangement of the data cache data memory 20.
- the data cache 16 may be physically tagged (i.e. the tags in the data cache tag memory 22 may be physical addresses). Generally, a hit may be detected in the data cache 16 if the data corresponding to a given physical address is stored in the data cache 16.
- the processor 10 may include any other circuitry according to the desired design.
- the processor 10 may be superscalar or scalar, may implement in order instruction execution or out of order instruction execution, etc. and may include circuitry to implement the above features.
- more than one AGU 12 may be provided and may generate virtual addresses in parallel.
- the way predictor 14, the data cache 16, and the translation/filter circuit 18 may include circuitry to handle multiple virtual addresses in parallel for such embodiments, or may include circuitry for otherwise handling the multiple virtual addresses. It is noted that, while the way predictor 14 and the microTLB/micro tag features of the translation/filter circuit 18 are described as being used together to provide reduced power consumption, embodiments are contemplated which implement the way predictor 14 without implementing the microTLB/micro tag. Additionally, embodiments are contemplated in which the microTLB/micro tag are implemented without the way predictor 14 (e.g. by delaying the data forwarding from the data cache 16 until a way selection is determined).
- the micro tag may output a way selection, in some embodiments, for a hit detected therein.
- the microTLB/micro tag circuitry and the way predictor 14 are illustrated as used with a data cache, any of the microTLB, micro tag, and/or way predictor 14 may be used with an instruction cache in the processor, as desired.
- Fig. 2 a block diagram of one embodiment of the translation/filter circuit 18 is shown.
- the translation filter circuit 18 includes a microTLB 30 (including a microTLB tag circuit 32 and a microTLB data circuit 34), a micro tag circuit 36, a main TLB 38 (including a main TLB tag circuit 40 and a main TLB data circuit 42), a mux 44 and inverters 46 and 48. Also shown in Fig. 2 is a portion of the data cache 16 including the data cache tag memory 22, a cache hit/miss circuit 50, and a comparator 52.
- the microTLB 30 (and more particularly the microTLB tag circuit 32), the micro tag circuit 36, the data cache tag memory 22, and the main TLB 38 (and more particularly the main TLB tag circuit 40) are coupled to receive the virtual address from the AGU 12
- the microTLB tag circuit 32 is configured to output a hit signal to the microTLB data circuit 34, the micro tag circuit 36, the mux 44, and the inverter 46 (which is further coupled to the main TLB tag circuit 40)
- the microTLB tag circuit 32 is further configured to output an entry indication to the microTLB data circuit 34 and the micro tag circuit 36
- the micro TLB data circuit 34 is configured to output a physical address (PA) to the mux 44, as is the main TLB data circuit 42
- the output of the mux 44 is coupled to the comparator 52
- the main TLB tag circuit 40 is coupled to the main TLB data circuit 42, and to provide a TLB miss indication
- the micro tag circuit 36 is configured to output a hit signal to the inverter 48 (which is further coupled to
- the data cache tag memory 22 is enabled and outputs a tag or tags to the comparator 52 In some embodiments that implement the way predictor 14, only the tag from the predicted way may be output
- the data cache tag memory 22 may be coupled to receive the way prediction (WP) for such an embodiment
- WP way prediction
- Other embodiments may output each tag in the indexed set for comparison
- the cache miss indication may indicate miss, or miss in the predicted way but hit in an unpredicted way, so that a cache fill does not occur if a hit in an unpredicted way occurs
- the selection of a replacement way when a cache miss occurs may be controlled so that a hit in an unpredicted way does not occur An example of such replacement is discussed below with regard to Figs 9 and 10
- the comparator 52 provides the comparison results to the cache hit/miss circuit 50, which generates the cache miss indication accordingly If there is a hit in the data cache tag
- the output of the TLB data circuit 42 is compared to the output of the data cache tag memory 22 in the DC3 stage. Additionally during the DC1 stage, the data cache data memory 20 is accessed and the data from the predicted way is output (reference numeral 76). The data is forwarded in the DC2 stage (reference numeral 78).
- Fig. 4 a block diagram of one embodiment of the microTLB tag circuit 32 is shown.
- the microTLB tag circuit 32 includes a set of entries including entries 80A and 80B, corresponding compare circuits 82A and 82B coupled to the entries 80A and 80B, respectively, and a control circuit 84 coupled to the entries 80A-80B and the compare circuits 82A-82B.
- the compare circuits 80A and 80B are coupled to receive the virtual address from the AGU 12.
- the control circuit 84 includes a least recently used (LRU) storage 86, and is configured to generate the hit signal and entry indication outputs of the microTLB tag circuit 32.
- the microTLB tag circuit 32 may include any number of entries 80A-80B. For example, 4 entries may be implemented in one embodiment. Other embodiments may implement more or fewer entries.
- Each entry 80A-80B may include a valid bit (V), a virtual address field storing a page portion of the virtual address (VA[N-1:12]) that is translated by the entry (and the corresponding entry in the microTLB data circuit 34, which together form an entry of the microTLB 30), and a 2M bit indicating whether or not the translation is derived from a 2 Megabyte page translation.
- V valid bit
- VA[N-1:12] a page portion of the virtual address
- VA[N-1:12] page portion of the virtual address
- 2M bit indicating whether or not the translation is derived from a 2 Megabyte page translation.
- N is an integer.
- N may be 32 in some embodiments.
- N may be 48.
- N may any integer between 32 and 64, inclusive.
- the entries may comprise any type of storage.
- the compare circuits 82A-82B receive at least the page portion of the virtual address from the AGU 12 and compare the page portion of the virtual address to the page portion stored in the corresponding entry 80A-80B.
- the illustrated embodiment implements a minimum page size of 4 kilobytes (and thus bits 11:0 are not included in the page portion of the virtual address) and also implements a 2 Megabyte page size for compatibility with the x86 instruction set architecture. Other page sizes may be implemented.
- the compare circuits 82A-82B generate two match signals: matchjower and match_upper.
- Match_upper may be asserted if the valid bit is set in the entry and the portion of the virtual addresses that is included in the 2M page range match (that is, VA[N-l:21j). Matchjower may be asserted if the remainder of the virtual addresses match (that is, VA[20:12]).
- the control circuit 84 is coupled to receive the outputs of the compare circuits 82A-82B and is configured to generate the hit signal and entry indication responsive thereto. If a hit is indicated in one of the entries, the control circuit 84 may assert the hit signal and provide the entry indication. If a hit is not indicated, then the control circuit 84 may not assert the hit signal. Fig.
- a truth table 90 that may be implemented by the control circuit 84 for determining if an entry is hit by a virtual address. Illustrated in the table 90 is the 2M bit from the entry (set to indicate a 2M translation in this embodiment), the match_upper and matchjower signals (with a one in the table 90 indicating asserted and a zero indicating not asserted), and a result column stating what each combination of the 2M bit, the match_upper signal, and the matchjower signal indicates. If the match_upper signal is deasserted, the control circuit 84 detects a microTLB miss for the virtual address. The microTLB misses independent of the setting of the 2M bit and the state of the matchjower signal.
- the micro tag circuit 36 also misses. If the 2M bit is set, then the corresponding translation is for a 2 Megabyte page. Thus, VA[20:12] would not generally be included in the comparison. However, to provide bits for the micro tag circuit 36, these bits may be defined to be the last 4 kilobyte page accessed by the processor 10 within the 2 Megabyte page. If the match_upper signal is asserted, and the 2M bit is set, then the microTLB hits. However, if the matchjower signal is deasserted, the micro tag circuit 36 misses for this page. If the matchjower signal is asserted, the micro tag circuit 36 may hit and thus a micro tag lookup is performed.
- the hit indication provided to the micro tag circuit 36 may differ from the hit indication provided to the main TLB 38.
- the hit indication to the main TLB 38 may indicate a hit in the microTLB 30 as long as the translation is a hit (entries in the table 90 that state microTLB hit), even if the micro tag circuit 36 is a miss.
- the hit indication to the micro tag circuit 36 may indicate hit if a micro tag lookup is indicated (entries in the table 90 that state micro tag lookup).
- the embodiment of Figs. 4 and 5 supports two different page sizes. Other embodiments may support a single page size, and thus a single match signal from each of the compare circuits 82A-82B may be provided and the 2M bit may be eliminated from the entries 80A-80B. Other embodiments may support more than two page sizes by further dividing the page portion of the virtual address according to the supported page sizes. It is noted that the x86 instruction set architecture also supports a 4 Megabyte page size. The embodiment of Figs. 4 and 5 may support the 4 Megabyte page size using two 2 Megabyte entries in the microTLB 30.
- Other embodiments may support the 4 Megabyte page size directly (e.g. using a 4M bit in each entry similar to the 2M bit). While the above embodiment supports the 2 Megabyte page size using an entry for the 2 Megabyte page and identifying the most recently accessed 4 kilobyte page within the 2 Megabyte page using VA[20: 12], other embodiments may allow for multiple microTLB entries for a given 2 Megabyte page. Each of the entries may have a different encoding in VA[20:12] for different 4 kilobyte pages that have been accessed.
- VA[20:12] may be included in the micro tag circuit 36 for 2 Megabyte pages, and a hit on a 2 Megabyte page may be used to access the micro tag to detect a hit for a cache line within the 2 Megabyte page.
- the control circuit 84 may select an entry 80A-80B to be replaced with the hitting translation from the main TLB 38.
- the control circuit 84 may maintain an LRU of the entries 80A-80B and may select the least recently used entry for replacement. Any other replacement algorithm may be implemented (e.g. pseudo-LRU, random, etc.).
- the entries 80A-80B may be coupled to receive an input page portion of a virtual address (VA[N-1:12J) and 2M bit to be stored in one of the entries under the control of the control circuit 84 (input address and 2M bit not shown in Fig. 4).
- the source of the input virtual address and 2M bit may be the main TLB 38, or the table walk circuitry, in various embodiments).
- Fig. 6 is a block diagram of one embodiment of the microTLB data circuit 34.
- the microTLB data circuit 34 includes a set of entries including entries 92A-92B. Each of the entries 92A-92B corresponds to a respective one of the entries 80A-80B in Fig. 4.
- a mux 94 is illustrated, coupled to the entries 92A-92B and receiving the entry indication from the microTLB tag circuit 32.
- the mux 84 may select the contents of the entry indicated by the entry indication for output. In one implementation, if no entry is indicated (i.e. a miss), then no entry 92A-92B is selected by the mux 94 (which may reduce power consumption). Similar to the entries 80A-80B in Fig. 4, the entries 92A-92B may be implemented in any type of storage (e.g. various clocked storage devices, in one embodiment).
- each entry 92A-92B includes a dirty bit (D), a user/supervisor (U/S) bit, a read/write (R/W) bit, a memory type field (MemType[4:0]), and a physical address field (PA[M-1:12J).
- the bits may be compatible, in one embodiment, with the paging mechanism defined in the x86 instruction set architecture.
- the dirty bit may indicate whether or not the physical page has been modified (e.g. whether or not the processor has executed a store instruction to the page).
- the user/supervisor bit may indicate user (unprivileged) pages versus supervisor (privileged pages).
- the read/write bit may indicate whether the page is read-only or read/write.
- the memory type field may identify which memory type is used for the page.
- An M bit physical address is supported in the illustrated embodiment. M may be any integer. Particularly, M may differ from N. In one implementation, M may be any integer between 32 and 64, inclusive. In another implementation, M may be any integer between 32 and 52, inclusive. For example, M may be 40 in one particular implementation.
- Fig. 7 a block diagram of one embodiment of the micro tag circuit 36 is shown. In the illustrated embodiment, a plurality of entries in the micro tag circuit 36 are divided into groups of entries. Each group of entries is assigned to a different entry of the microTLB. For example, in the illustrated embodiment, groups I00A-100D are shown corresponding to four entries in the microTLB 30.
- the groups 100A-100D are coupled to a control circuit 102, which is coupled to receive the enable input (En) (the hit signal from the microTLB tag circuit 32), the entry indication from the microTLB tag circuit 32, and the virtual address from the AGU 12.
- the control circuit 102 is configured to generate the hit indication output by the micro tag circuit 36.
- the entries in the selected group 100A-100D are assigned to one of the entries in the microTLB tag circuit 32 and identify cache lines in the virtual page indicated by that entry which are also stored in the data cache 16. Any number of entries may be included in a group. For example, in one embodiment, four entries may be included in each group.
- the entries in the selected group 100A- 100D may store the page offset portion of the virtual address (excluding the address bits which form the cache line offset). For the illustrated embodiment, a cache line size of 64 bytes is assumed and thus address bits 5:0 are excluded. Other cache line sizes may be selected in other embodiments.
- the remaining virtual address bits to complete the virtual tag comparison are thus VA[11 :6] for this embodiment, and each micro tag entry stores the VA[11:6] as shown in Fig. 7.
- control circuit 102 may compare the address bits VA[11:6] from each entry to the corresponding bits of the virtual address from the AGU 12. Thus, the control circuit 102 may be coupled to receive at least the page offset portion of the virtual address from the AGU 12 (excluding the cache line offset bits). If a match is detected in an entry within the selected group 100A-100D and the valid bit (V) in that entry is set, then the virtual address is a hit in the micro tag circuit 36 and thus is a hit in the data cache 16. The data cache tag memory 22 need not be accessed to determine hit/miss.
- the data cache tag memory 22 may be accessed to determine if the address is a hit or miss in the data cache 16.
- the control circuit 102 generates the hit signal according to the comparison results. It is noted that, if the data cache 16 is physically tagged (i.e. the data cache tag memory 22 stores physical tags rather than virtual tags) and at least one translated address bit is used in the index to the data cache 16 (e.g. at least bit 12 is used, in a 4 kilobyte page embodiment), then it is possible that aliasing of multiple virtual addresses to the same physical address may affect the operation of the micro tag circuit 36 (since the index may differ from the virtual address bits used in the comparison).
- the data cache 16 may be physically tagged but the processor 10 may ensure that at most one virtual address aliased to the same physical address is stored in the data cache 16 at any given time. That is, if a second alias is being loaded into the data cache 16 while the first alias is still residing in the cache, the first alias is invalidated in the data cache 16.
- the cache index includes at least one translated address bit
- the micro tag circuit 36 may store each address bit that is included in the cache index, and the translated address bits may be physical bits. Storing such bits may permit targeted invalidation of micro tag circuit 36 entries, if invalidation of all entries is not desired (e.g. in response to changes in the data cache 16 content or the microTLB 30 content).
- the control circuit 102 may maintain LRU information within each group 100A-100D (shown as an LRU field in each entry) which may be used to select the LRU entry within the selected group 100A-100D for replacement. Other embodiments may employ other replacement schemes (e.g. random, pseudo-LRU, etc.).
- the groups 100A-100D may be coupled to receive VA[11:6] from the data cache 16 for storing a missing index in the micro tag circuit 36, in some embodiments (not shown in Fig. 7).
- the entries of the micro tag circuit 36 are statically assigned to microTLB entries in the illustrated embodiment, in other embodiments the entries may be dynamically assigned as needed to each microTLB entry.
- a microTLB entry field may be included in each micro tag entry, storing an indication of the microTLB entry to which that micro tag entry is currently assigned.
- the control circuit 102 may compare the entry indication to the indication received from the microTLB 30 during an access, and may detect a hit if the entry indication matches and the VA[ 11 :6] field matches the corresponding portion of the virtual address from the AGU 12. It is noted that, while the micro tag circuit 36 is used with the microTLB in this embodiment, other embodiments may implement the micro tag circuit 36 without the microTLB.
- Such embodiments may implement full tags in each entry of the micro tag circuit 36 and may detect a cache hit and prevent a read in the data cache tag memory 22 by comparing the full tag. Whether the hit is detected in the micro tag circuit 36 or the data cache tag memory 22, the data may be forwarded from the data cache data memory 20.
- the micro tag circuit 36 may comprise a single entry per microTLB entry.
- the micro tag entry may store a bit per cache line within the page identified by the microTLB entry, indicating whether or not that cache line is a hit in the data cache 16.
- the micro tag entry may comprise 64 bits.
- the bit corresponding to a given cache line may indicate hit if the bit is set and miss if the bit is clear (or the opposite encoding may be used).
- a control circuit may use the in-page portion of the VA excluding the cache line offset portion (e.g. bits 11:6 in an 64 byte cache line embodiment) to select the appropriate bit for determining cache hit/miss.
- the micro tag circuit may be incorporated into the microTLB circuit.
- the term "tag circuit" or "micro tag circuit” is intended to include such embodiments in which the micro tag circuitry is incorporated into the microTLB.
- the MicroTLB tag circuit 32 is accessed (block 110). If a MicroTLB hit is detected (decision block 112, "yes" leg), the micro tag circuit 36 is accessed (block 114). If a hit in the micro tag is detected (decision block 116, "yes" leg), the cache hit/miss circuit 50 may indicate a cache hit (e.g. the cache miss indication may not indicate miss) and the data cache tag memory 22 may not be accessed in response to the virtual address (block 118).
- the microTLB data circuit 34 may be accessed (block 120). In some embodiments, the microTLB data circuit 34 may be accessed in response to a microTLB tag hit, independent of whether or not the micro tag is a hit.
- the data cache tag memory 22 is also accessed (block 122). If a hit is detected between a tag from the data cache tag memory 22 and the physical address from the microTLB data circuit 34 (decision block 124, "yes" leg), the cache hit/miss circuit 50 may indicate a cache hit (block 126). Additionally, since a micro tag miss was detected in this case, the micro tag may be loaded with the hitting tag.
- the cache hit/miss circuit 50 may indicate a cache miss (block 128) and the missing cache line may be loaded into the data cache 16 (and optionally the micro tag circuit 36 may be updated with the tag of the missing cache line as well). If a MicroTLB miss is detected (decision block 112, "no" leg), the main TLB tag circuit 40 may be accessed (block 130). If a hit in the main TLB is detected (decision block 132, "yes” leg), the microTLB is loaded from the main TLB (block 134) and the micro tag entries corresponding to the microTLB entry that is loaded may be invalidated.
- .blocks 122, 124, 126, and 128 are repeated for the tag comparison with the physical address from the main TLB.
- the micro tag may optionally not be loaded if desired.
- the main TLB 38 may generate a TLB miss, and the main TLB may be loaded with the missing translation (or an exception may occur if no translation is found) (block 136).
- the microTLB may be loaded in the event of a main TLB miss as well, and the micro tag may be updated to invalidate micro tag entries corresponding to the microTLB entry that is loaded.
- the TLBs may generally output the page portion of the physical address.
- the remainder of the cache tag for comparison may be formed by concatenating the page portion of the physical address with the page offset portion of the virtual address.
- Fig. 9 a block diagram of one embodiment of the way predictor 14 is shown.
- the way predictor 14 includes a sum address (SA) decoder 140 coupled to receive one or more address operands corresponding to the virtual address for which a way prediction is to be made, and further coupled to a memory 142.
- SA decoder 140 may implement sum-address indexing, described in more detail below.
- the memory 142 may be W-way set associative (the same as the data cache 16) and thus may have a plurality of entries arranged as ways 0 through way W-1. Each entry of the memory 142 stores way prediction value comprising P bits (WP[P-1 :0]).
- a plurality of comparators including comparators 146A-146B are coupled to the memory 142.
- a comparator 146A-146B may be included for each way of the way predictor 14.
- the comparators 146A-146B are coupled to receive either a portion of the virtual address (VA) from the AGU 12 or the output of an optional way prediction generation circuit 148 (or, in another option, a portion of the address operands).
- the outputs of the comparators 146A-146B may form the way prediction output of the way predictor 14. Additionally, if none of the comparators 146A-146B detect a match, the way predictor 14 may output the early miss signal (illustrated as a NOR gate 150 receiving the outputs of the comparators 146A-146B in Fig. 9).
- the decoder 140 is configured to decode the address operands (using sum-address decoding in this embodiment) to select a set 144 of the memory 142, and the memory 142 is configured to output the contents of the set 144 to the comparators 146A-146B.
- Each of the comparators 146A-146B compares the way prediction value from the respective way of the memory 142 to a way prediction value corresponding to the input virtual address. If a match is detected, the way predictor 14 predicts that the corresponding way is a hit in the data cache 16.
- the way prediction may comprise a one-hot encoding for the ways, with a bit asserted for the predicted way. If none of the way prediction bits match the input way prediction bits, then no way prediction is generated (and the early miss signal may be asserted).
- Other embodiments may encode the way prediction in other ways, and the way predictor 14 may include circuitry coupled to receive the output of the comparators 146A-146B and configured to generate the way prediction encoding.
- the way prediction value may be generated in any fashion, as desired, and may include any number of bits (e.g. P may be any integer greater than one).
- the way prediction values stored in the way predictor 14 are generated according to the corresponding cache lines in the data cache 16.
- the way prediction value may be a partial tag of the virtual address corresponding to the cache line stored at the same index and way in the data cache 16. That is, the way prediction value may comprise a concatenation of selected virtual address bits (excluding at least one address bit that is part of the cache tag). It may be desirable, for such an embodiment, to select virtual address bits that vary the most frequently (or, viewed in another way, show the most randomness among consecutive accesses).
- the least significant address bits that are still part of the cache tag may be selected.
- the way prediction generation circuit 148 may not be used and the selected virtual address bits from the input virtual address may be coupled as inputs to the comparators 146A-146B.
- one or more of the way prediction value bits may be generated as a logical combination of two or more virtual address bits.
- frequently changing virtual address bits may be combined with less frequently changing virtual address bits, for example.
- the logical combination may comprise exclusive OR.
- the logical combination may be performed on the virtual address bits by the way predictor generation circuit 148, the output of which may be coupled to the comparators 146A-146B
- bits may be selected from the address operands prior to the addition to generate the virtual address
- the bits may be logically combined using the way predictor generation circuit 148, or may be concatenated, similar to the virtual address examples given above
- the replacement of cache lines in the data cache 16 may be controlled to ensure that the way prediction values in a given set of the way predictor 14 remain unique
- An example of such a procedure is shown in the flow chart of Fig 10 It may be desirable to include enough bits in the way prediction values that the above replacement strategy does not frequently cause premature replacement of cache lines to maintain the uniqueness of the way prediction values For example, if concatenation of virtual address bits is used to generate the way prediction values, about 7 bits of way prediction value may
- equations of e that may be used in the decoder 140, it is desirable to generate terms that are not dependent on K (which each of equations 1 and 2, and therefore equation 3, are dependent) Particularly, equation 3 depends on k, (through Cin,) and k, i (through Cout, t )
- equation 3 depends on k, (through Cin,) and k, i (through Cout, t )
- k, i through Cout, t
- e four e, terms may be generated for each bit position I
- Each e, term may assume one set of values for k, and k, i
- Equations 4-7 illustrate the 4 e, terms for each bit position.
- Each of equations 4-7 are formed by substituting equations 1 and 2 into equation 3, providing the assumed value for k, and k , and reducing the terms using Boolean algebra.
- e, 00 a, XOR b, XOR !(a
- e, 01 a, XOR b, XOR !(a,., & b,.,) (5)
- e, 10 !(a, XOR b,) XOR !(a,.,
- e, 00 !(a, XOR b,) XOR !(a,., & b,.,) (7)
- the above equations may be implemented in logic for each bit position of the index into the way prediction memory 142, with the carry in c.i equal to the carry in from the cache line offset addition.
- This carry in may be provided, e.g. by the AGU 12 from the virtual address addition. The carry in may arrive late, and may select between banks that have even and odd indexes in them, for example.
- To generate the word line for a given set one of e, 00 , e, 01 , e, 10 , and e," for each bit position is selected (based on the value of the index corresponding to the word line being generated) and the selected values are logically ANDed to generate the word line.
- the word line for index zero may be the logical AND of e, 00 for each bit position and eo ⁇ .
- the way predictor 14 may be used to reduce the power consumption of the processor 10 by permitting reduced consumption in the data cache data memory 20.
- the data cache data memory 20 may comprise a random access memory (RAM). Locations in the RAM may be enabled by activating a word line. The enabled locations may discharge certain bit lines attached to the location, providing a differential on pairs of bit lines that represents each bit in the location. The pairs of bit lines may be input to sense amplifiers (sense amps) which may convert the differentials to output bits.
- the data cache data memory 20 RAM may provide separate word line signals to each way in the data cache data memory 20. The virtual address may be decoded to provide a set selection, and the set selection may be qualified with the way prediction to generate the word line for each way.
- the predicted way may be enabled and other ways may not be enabled, reducing the power consumed in the bit line discharge that would otherwise have occurred in the non- enabled ways.
- Bit line power consumption may often be one of the most significant factors (and may be the most significant factor) in the power consumption of such a memory.
- FIG. 11 An example of a portion of such an embodiment of the data cache data memory 20 is shown in Fig. 11, in which the virtual address (VA) is received by a decoder, which generates a set selection (e.g. Set 0 in Fig. 11 and other sets, not shown in Fig. 11).
- AND gates receive an indication that way 0 is predicted (WPO) or way 1 is predicted (WP1), and corresponding way word lines are generated for way 0 and way 1.
- Bit 0 of each way is shown in Fig. 11, receiving the corresponding way word line.
- Bit 0 from each way is column-muxed by a mux controlled by the way predictions as well (to select the bit 0 from the predicted way), and a sense amp (SAO) sense bit 0 from the predicted way and drives bit 0 out of the data cache data memory 20.
- Other bits may be treated similarly, and additional ways may be provided by providing additional AND gates and way predictions.
- the way prediction may not be available early enough to provide selective word line generation.
- the word lines to each way may be driven based on decoding the address, and the bit line discharge may occur in each way.
- the bits from each way may be physically interleaved and column-muxed into the sense amps. That is, bit 0 of each way may physically be located adjacent to each other, and the mux may select bit 0 from the selected way into the input of the sense amp for bit 0 of the output. Other output bits may be similarly selected.
- the way prediction may be used to provide selection control to the column mux, and thus the number of sense amps may be the number of bits output from a way (rather than the number of bits output from a way multiplied by the number of ways). Power consumed in the sense amps and driving data out of the sense amps may be reduced as compared to having separate sense amps for each way.
- Sense amp drive out power may often be one of the most significant factors (and may be the most significant factor other than bit line power consumption) in the power consumption of such a memory.
- An example of a portion of such an embodiment is shown in Fig. 12.
- the decoder (similar to the decoder in Fig. 11) decodes the input virtual address (VA) to generate word lines (e.g. word line 0 in Fig. 12 an other word lines for other sets, not shown in Fig. 12).
- word lines e.g. word line 0 in Fig. 12 an other word lines for other sets, not shown in Fig. 12.
- Bit 0 from ways 0 and 1 are shown, and each bit discharges its bit lines responsive to the word line assertion.
- the mux in Fig. 12 is controlled by the way predictions to select bit 0 from the predicted way into the sense amp for bit 0 (SAO in Fig. 12).
- Fig. 13 is an example of such an embodiment of the data cache data memory 20.
- the decoder may decode the input virtual address (VA) and generate word lines, which are provided to the way 0 and way 1 storage. Each way outputs a number of bit lines to a set of sense amps for the way.
- VA virtual address
- Each set of sense amps receives an enable controlled by the way prediction for that way (WPO and WP1 for ways 0 and 1, respectively).
- the data cache data memory 20 in this embodiment may also include a mux to select the predicted way from the outputs of the sense amps.
- Fig. 10 a flowchart is shown illustrating a replacement mechanism that may be employed by the data cache 16 in response to a cache miss. While the blocks in Fig. 10 are shown in a particular order for ease of understanding, any order may be used.
- Blocks may be performed in parallel via combinatorial logic circuitry, or may be performed over two or more clock cycles in a pipelined fashion, as desired. If the way predictor 14 made a way prediction for the virtual address that resulted in the cache miss (decision block 160), then the predicted way is selected for replacement (block 162). Otherwise, the way to replace is selected according to the replacement scheme implemented by the cache (block 164). Any replacement algorithm may be used (e.g. LRU, pseudo-LRU, random, etc.). The above algorithm forces a cache block that misses in the cache but which matches a current way prediction value in the way predictor 14 to replace the cache line corresponding to that way prediction value. Thus, the same way prediction value may not be stored in more than one location in a set. Fig.
- the way predictor 14 may decode the indication of the address (e.g. address operands, or the address itself, in some embodiments) (block 170).
- the way predictor 14 may output a plurality of way prediction values from the set indicated by the decoding (block 172).
- the output way prediction values may be compared to a value corresponding to the input address decoded at block 170 (block 174).
- blocks 176, 178, and 180 may comprise one embodiment of generating a way prediction.
- FIG. 15 a block diagram of one embodiment of a computer system 200 including processor 10 coupled to a variety of system components through a bus bridge 202 is shown.
- a main memory 204 is coupled to bus bridge 202 through a memory bus 206
- a graphics controller 208 is coupled to bus bridge 202 through an AGP bus 210.
- a plurality of PCI devices 212A-212B are coupled to bus bridge 202 through a PCI bus 214.
- a secondary bus bridge 216 may further be provided to accommodate an electrical interface to one or more EISA or ISA devices 218 through an EISA/ISA bus 220.
- Processor 10 is coupled to bus bridge 202 through a CPU bus 224 and to an optional L2 cache 228.
- CPU bus 224 and the interface to L2 cache 228 may comprise an external interface to which external interface unit 18 may couple.
- the processor 10 may be the processor 10 shown in Fig. 1, and may include the structural and operational details shown in Figs. 2-14.
- Bus bridge 202 provides an interface between processor 10, main memory 204, graphics controller 208, and devices attached to PCI bus 214. When an operation is received from one of the devices connected to bus bridge 202, bus bridge 202 identifies the target of the operation (e.g. a particular device or, in the case of PCI bus 214, that the target is on PCI bus 214). Bus bridge 202 routes the operation to the targeted device.
- Bus bridge 202 generally translates an operation from the protocol used by the source device or bus to the protocol used by the target device or bus.
- secondary bus bridge 216 may further incorporate additional functionality, as desired.
- An input/output controller (not shown), either external from or integrated with secondary bus bridge 216, may also be included within computer system 200 to provide operational support for a keyboard and mouse 222 and for various serial and parallel ports, as desired.
- An external cache unit (not shown) may further be coupled to CPU bus 224 between processor 10 and bus bridge 202 in other embodiments. Alternatively, the external cache may be coupled to bus bridge 202 and cache control logic for the external cache may be integrated into bus bridge 202.
- L2 cache 228 is further shown in a backside configuration to processor 10. It is noted that L2 cache 228 may be separate from processor 10, integrated into a cartridge (e.g. slot 1 or slot A) with processor 10, or even integrated onto a semiconductor substrate with processor 10.
- Main memory 204 is a memory in which application programs are stored and from which processor 10 primarily executes.
- a suitable main memory 204 comprises DRAM (Dynamic Random Access Memory). For example, a plurality of banks of SDRAM (Synchronous DRAM), double data rate (DDR) SDRAM, or Rambus DRAM (RDRAM) may be suitable.
- Main memory 204 may include the system memory 42 shown in Fig. 1.
- PCI devices 212A-212B are illustrative of a variety of peripheral devices.
- the peripheral devices may include devices for communicating with another computer system to which the devices may be coupled (e.g. network interface cards, modems, etc.). Additionally, peripheral devices may include other devices, such as, for example, video accelerators, audio cards, hard or floppy disk drives or drive controllers, SCSI (Small Computer Systems Interface) adapters and telephony cards. Similarly, ISA device 218 is illustrative of various types of peripheral devices, such as a modem, a sound card, and a variety of data acquisition cards such as GPIB or field bus interface cards. Graphics controller 208 is provided to control the rendering of text and images on a display 226.
- graphics controller 208 is provided to control the rendering of text and images on a display 226.
- Graphics controller 208 may embody a typical graphics accelerator generally known in the art to render three-dimensional data structures which can be effectively shifted into and from main memory 204. Graphics controller 208 may therefore be a master of AGP bus 210 in that it can request and receive access to a target interface within bus bridge 202 to thereby obtain access to main memory 204.
- a dedicated graphics bus accommodates rapid retrieval of data from main memory 204.
- graphics controller 208 may further be configured to generate PCI protocol transactions on AGP bus 210.
- the AGP interface of bus bridge 202 may thus include functionality to support both AGP protocol transactions as well as PCI protocol target and initiator transactions.
- Display 226 is any electronic display upon which an image or text can be presented.
- a suitable display 226 includes a cathode ray tube ("CRT"), a liquid crystal display (“LCD”), etc.
- CTR cathode ray tube
- LCD liquid crystal display
- any bus architectures may be substituted as desired.
- computer system 200 may be a multiprocessing computer system including additional processors (e.g. processor 10a shown as an optional component of computer system 200).
- processor 10a may be similar to processor 10. More particularly, processor 10a may be an identical copy of processor 10.
- Processor 10a may be connected to bus bridge 202 via an independent bus (as shown in Fig. 15) or may share CPU bus 224 with processor 10.
- processor 10a may be coupled to an optional L2 cache 228a similar to L2 cache 228.
- computer system 300 includes several processing nodes 312A, 312B, 312C, and 312D. Each processing node is coupled to a respective memory 314A-314D via a memory controller 316A-316D included within each respective processing node 312A-312D. Additionally, processing nodes 312A-312D include interface logic used to communicate between the processing nodes 312A-312D.
- processing node 312A includes interface logic 318A for communicating with processing node 312B, interface logic 318B for communicating with processing node 312C, and a third interface logic 318C for communicating with yet another processing node (not shown).
- processing node 312B includes interface logic 318D, 318E, and 318F;
- processing node 312C includes interface logic 318G, 318H, and 3181; and
- processing node 312D includes interface logic 318J, 318K, and 318L.
- Processing node 312D is coupled to communicate with a plurality of input output devices (e.g. devices 320A-320B in a daisy chain configuration) via interface logic 318L.
- Processing nodes 312A-312D implement a packet-based link for inter-processing node communication.
- the link is implemented as sets of unidirectional lines (e.g. lines 324A are used to transmit packets from processing node 312A to processing node 312B and lines 324B are used to transmit packets from processing node 312B to processing node 312A).
- Other sets of lines 324C-324H are used to transmit packets between other processing nodes as illustrated in Fig. 16.
- each set of lines 324 may include one or more data lines, one or more clock lines corresponding to the data lines, and one or more control lines indicating the type of packet being conveyed.
- the link may be operated in a cache coherent fashion for communication between processing nodes or in a noncoherent fashion for communication between a processing node and an I O device (or a bus bridge to an I/O bus of conventional construction such as the PCI bus or ISA bus). Furthermore, the link may be operated in a non-coherent fashion using a daisy-chain structure between I/O devices as shown. It is noted that a packet to be transmitted from one processing node to another may pass through one or more intermediate nodes. For example, a packet transmitted by processing node 312A to processing node 312D may pass through either processing node 312B or processing node 312C as shown in Fig. 16. Any suitable routing algorithm may be used.
- a processing node comprises at least one processor and may optionally include a memory controller for communicating with a memory and other logic as desired.
- each processing node 312A-312D may comprise one or more copies of processor 10 as shown in Fig. 1 (e.g. including various structural and operational details shown in Figs. 2-14).
- External interface unit 18 may includes the interface logic 318 within the node, as well as the memory controller 316.
- Memories 314A-314D may comprise any suitable memory devices.
- a memory 314A-314D may comprise one or more RAMBUS DRAMs (RDRAMs), synchronous DRAMs (SDRAMs), DDR SDRAM, static RAM, etc.
- RDRAMs RAMBUS DRAMs
- SDRAMs synchronous DRAMs
- DDR SDRAM DDR SDRAM
- static RAM static RAM
- Each processing node 312A-312D may include a memory map used to determine which addresses are mapped to which memories 314A-314D, and hence to which processing node 312A-312D a memory request for a particular address should be routed.
- the coherency point for an address within computer system 300 is the memory controller 316A-316D coupled to the memory storing bytes corresponding to the address.
- the memory controller 316A-316D is responsible for ensuring that each memory access to the corresponding memory 314A-314D occurs in a cache coherent fashion.
- Memory controllers 316A-316D may comprise control circuitry for interfacing to memories 314A-314D. Additionally, memory controllers 316A-316D may include request queues for queuing memory requests.
- interface logic 318A-318L may comprise a variety of buffers for receiving packets from the link and for buffering packets to be transmitted upon the link.
- Computer system 300 may employ any suitable flow control mechanism for transmitting packets.
- each interface logic 318 stores a count of the number of each type of buffer within the receiver at the other end of the link to which that interface logic is connected. The interface logic does not transmit a packet unless the receiving interface logic has a free buffer to store the packet. As a receiving buffer is freed by routing a packet onward, the receiving interface logic transmits a message to the sending interface logic to indicate that the buffer has been freed.
- Such a mechanism may be referred to as a "coupon-based" system.
- I/O devices 320A-320B may be any suitable I/O devices.
- I/O devices 320A-320B may include devices for communicating with another computer system to which the devices may be coupled (e.g. network interface cards or modems).
- I O devices 320A-320B may include video accelerators, audio cards, hard or floppy disk drives or drive controllers, SCSI (Small Computer Systems Interface) adapters and telephony cards, sound cards, and a variety of data acquisition cards such as GPIB or field bus interface cards.
- SCSI Small Computer Systems Interface
- This invention may generally be applicable to the field of processors.
Abstract
Description
Claims
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE112004001608.8T DE112004001608B4 (en) | 2003-09-03 | 2004-06-04 | Micro-TLB and micro-labels for reducing power consumption in a processor |
GB0605621A GB2421826B (en) | 2003-09-03 | 2004-06-04 | Microtlb and micro tag for reducing power in a processor |
JP2006525316A JP2007504552A (en) | 2003-09-03 | 2004-06-04 | Micro TLB and micro tag for reducing processor power |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US10/653,749 | 2003-09-03 | ||
US10/653,749 US7117290B2 (en) | 2003-09-03 | 2003-09-03 | MicroTLB and micro tag for reducing power in a processor |
Publications (2)
Publication Number | Publication Date |
---|---|
WO2005024635A2 true WO2005024635A2 (en) | 2005-03-17 |
WO2005024635A3 WO2005024635A3 (en) | 2005-05-26 |
Family
ID=34217964
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/US2004/018042 WO2005024635A2 (en) | 2003-09-03 | 2004-06-04 | Microtlb and micro tag for reducing power in a processor |
Country Status (8)
Country | Link |
---|---|
US (1) | US7117290B2 (en) |
JP (1) | JP2007504552A (en) |
KR (1) | KR101014395B1 (en) |
CN (1) | CN100485638C (en) |
DE (1) | DE112004001608B4 (en) |
GB (1) | GB2421826B (en) |
TW (1) | TW200519590A (en) |
WO (1) | WO2005024635A2 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100692976B1 (en) * | 2006-02-08 | 2007-03-12 | 삼성전자주식회사 | Method and system for providing interprocessor data communication |
JP2009514114A (en) * | 2005-12-30 | 2009-04-02 | インテル・コーポレーション | Method and system for optimizing dynamic memory sizing latency |
US8190853B2 (en) | 2007-06-20 | 2012-05-29 | Fujitsu Limited | Calculator and TLB control method |
Families Citing this family (34)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2836407B1 (en) * | 2002-02-28 | 2004-05-14 | Thermagen | METHOD FOR MANUFACTURING METALLIC PACKAGING |
US20050050278A1 (en) * | 2003-09-03 | 2005-03-03 | Advanced Micro Devices, Inc. | Low power way-predicted cache |
US20060224857A1 (en) * | 2005-03-29 | 2006-10-05 | O'connor Dennis M | Locking entries into translation lookaside buffers |
JP2007233615A (en) * | 2006-02-28 | 2007-09-13 | Fujitsu Ltd | Address conversion device |
US8035650B2 (en) | 2006-07-25 | 2011-10-11 | Qualcomm Incorporated | Tiled cache for multiple software programs |
US7650465B2 (en) * | 2006-08-18 | 2010-01-19 | Mips Technologies, Inc. | Micro tag array having way selection bits for reducing data cache access power |
US7657708B2 (en) * | 2006-08-18 | 2010-02-02 | Mips Technologies, Inc. | Methods for reducing data cache access power in a processor using way selection bits |
US9946547B2 (en) * | 2006-09-29 | 2018-04-17 | Arm Finance Overseas Limited | Load/store unit for a processor, and applications thereof |
US7594079B2 (en) * | 2006-09-29 | 2009-09-22 | Mips Technologies, Inc. | Data cache virtual hint way prediction, and applications thereof |
US20080082793A1 (en) * | 2006-09-29 | 2008-04-03 | Mips Technologies, Inc. | Detection and prevention of write-after-write hazards, and applications thereof |
US8688890B2 (en) * | 2006-12-05 | 2014-04-01 | Hewlett-Packard Development Company, L.P. | Bit ordering for communicating an address on a serial fabric |
US8145876B2 (en) * | 2007-08-06 | 2012-03-27 | Advanced Micro Devices, Inc. | Address translation with multiple translation look aside buffers |
US8156309B2 (en) * | 2007-10-18 | 2012-04-10 | Cisco Technology, Inc. | Translation look-aside buffer with variable page sizes |
GB2458295B (en) * | 2008-03-12 | 2012-01-11 | Advanced Risc Mach Ltd | Cache accessing using a micro tag |
US8589629B2 (en) * | 2009-03-27 | 2013-11-19 | Advanced Micro Devices, Inc. | Method for way allocation and way locking in a cache |
US8255629B2 (en) * | 2009-06-22 | 2012-08-28 | Arm Limited | Method and apparatus with data storage protocols for maintaining consistencies in parallel translation lookaside buffers |
JP5526626B2 (en) * | 2009-06-30 | 2014-06-18 | 富士通株式会社 | Arithmetic processing device and address conversion method |
WO2011010445A1 (en) * | 2009-07-21 | 2011-01-27 | Tadao Nakamura | A lower energy comsumption and high speed computer without the memory bottleneck |
US8429378B2 (en) * | 2010-07-06 | 2013-04-23 | Qualcomm Incorporated | System and method to manage a translation lookaside buffer |
US9753858B2 (en) | 2011-11-30 | 2017-09-05 | Advanced Micro Devices, Inc. | DRAM cache with tags and data jointly stored in physical rows |
US8612690B2 (en) * | 2012-01-17 | 2013-12-17 | Qualcomm Incorporated | Method for filtering traffic to a physically-tagged data cache |
US9524248B2 (en) * | 2012-07-18 | 2016-12-20 | Micron Technology, Inc. | Memory management for a hierarchical memory system |
US8984368B2 (en) | 2012-10-11 | 2015-03-17 | Advanced Micro Devices, Inc. | High reliability memory controller |
US9367468B2 (en) * | 2013-01-15 | 2016-06-14 | Qualcomm Incorporated | Data cache way prediction |
US9015400B2 (en) * | 2013-03-05 | 2015-04-21 | Qualcomm Incorporated | Methods and systems for reducing the amount of time and computing resources that are required to perform a hardware table walk (HWTW) |
US9330026B2 (en) | 2013-03-05 | 2016-05-03 | Qualcomm Incorporated | Method and apparatus for preventing unauthorized access to contents of a register under certain conditions when performing a hardware table walk (HWTW) |
WO2014142867A1 (en) * | 2013-03-14 | 2014-09-18 | Intel Corporation | Power efficient level one data cache access with pre-validated tags |
US9208261B2 (en) * | 2014-01-24 | 2015-12-08 | Oracle International Corporation | Power reduction for fully associated translation lookaside buffer (TLB) and content addressable memory (CAM) |
GB2547189A (en) * | 2016-02-03 | 2017-08-16 | Swarm64 As | Cache and method |
US10552338B2 (en) * | 2017-02-21 | 2020-02-04 | Arm Limited | Technique for efficient utilisation of an address translation cache |
US10402340B2 (en) * | 2017-02-21 | 2019-09-03 | Micron Technology, Inc. | Memory array page table walk |
WO2019005975A1 (en) * | 2017-06-28 | 2019-01-03 | Nvidia Corporation | Memory type which is cacheable yet inaccessible by speculative instructions |
GB2570665B (en) * | 2018-01-31 | 2020-08-26 | Advanced Risc Mach Ltd | Address translation in a data processing apparatus |
JP2023056289A (en) | 2021-10-07 | 2023-04-19 | 富士通株式会社 | Arithmetic processing unit, and arithmetic processing method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6138225A (en) * | 1997-12-24 | 2000-10-24 | Intel Corporation | Address translation system having first and second translation look aside buffers |
US6560679B2 (en) * | 2000-06-05 | 2003-05-06 | Samsung Electronics Co., Ltd. | Method and apparatus for reducing power consumption by skipping second accesses to previously accessed cache lines |
Family Cites Families (84)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AT354159B (en) | 1975-02-10 | 1979-12-27 | Siemens Ag | ASSOCIATIVE STORAGE WITH SEPARATELY ASSOCIATED AREAS |
US4453212A (en) | 1981-07-13 | 1984-06-05 | Burroughs Corporation | Extended address generating apparatus and method |
US4928223A (en) | 1982-10-06 | 1990-05-22 | Fairchild Semiconductor Corporation | Floating point microprocessor with directable two level microinstructions |
DE3382350D1 (en) | 1982-11-17 | 1991-08-29 | Nec Corp | ARRANGEMENT FOR RETRIEVING COMMANDS PREDICTING A BRANCH TARGET ADDRESS. |
US4807115A (en) | 1983-10-07 | 1989-02-21 | Cornell Research Foundation, Inc. | Instruction issuing mechanism for processors with multiple functional units |
US4764861A (en) | 1984-02-08 | 1988-08-16 | Nec Corporation | Instruction fpefetching device with prediction of a branch destination for each branch count instruction |
US4853840A (en) | 1986-01-07 | 1989-08-01 | Nec Corporation | Instruction prefetching device including a circuit for checking prediction of a branch instruction before the instruction is executed |
DE3751503T2 (en) | 1986-03-26 | 1996-05-09 | Hitachi Ltd | Data processor in pipeline structure with the ability to decode and execute multiple instructions in parallel. |
US4914582A (en) | 1986-06-27 | 1990-04-03 | Hewlett-Packard Company | Cache tag lookaside |
EP0259095A3 (en) | 1986-08-27 | 1990-02-28 | Amdahl Corporation | Cache storage queue |
IT1202687B (en) | 1987-03-25 | 1989-02-09 | Honeywell Inf Systems | BUFFER MEMORY AT HIT'S PREDICTION |
JPS6413649A (en) * | 1987-07-07 | 1989-01-18 | Nec Corp | Information processor |
JPH071484B2 (en) * | 1987-07-14 | 1995-01-11 | 日本電気株式会社 | Information processing equipment |
US4943908A (en) | 1987-12-02 | 1990-07-24 | International Business Machines Corporation | Multiple branch analyzer for prefetching cache lines |
US5067069A (en) | 1989-02-03 | 1991-11-19 | Digital Equipment Corporation | Control of multiple functional units with parallel operation in a microcoded execution unit |
US5142634A (en) | 1989-02-03 | 1992-08-25 | Digital Equipment Corporation | Branch prediction |
US5226126A (en) | 1989-02-24 | 1993-07-06 | Nexgen Microsystems | Processor having plurality of functional units for orderly retiring outstanding operations based upon its associated tags |
US5136697A (en) | 1989-06-06 | 1992-08-04 | Advanced Micro Devices, Inc. | System for reducing delay for execution subsequent to correctly predicted branch instruction using fetch information stored with each block of instructions in cache |
US5129067A (en) | 1989-06-06 | 1992-07-07 | Advanced Micro Devices, Inc. | Multiple instruction decoder for minimizing register port requirements |
JPH0654477B2 (en) * | 1989-06-12 | 1994-07-20 | 松下電器産業株式会社 | Storage device |
US5091851A (en) | 1989-07-19 | 1992-02-25 | Hewlett-Packard Company | Fast multiple-word accesses from a multi-way set-associative cache memory |
US5148538A (en) | 1989-10-20 | 1992-09-15 | International Business Machines Corporation | Translation look ahead based cache access |
US5226133A (en) * | 1989-12-01 | 1993-07-06 | Silicon Graphics, Inc. | Two-level translation look-aside buffer using partial addresses for enhanced speed |
US5185868A (en) | 1990-01-16 | 1993-02-09 | Advanced Micro Devices, Inc. | Apparatus having hierarchically arranged decoders concurrently decoding instructions and shifting instructions not ready for execution to vacant decoders higher in the hierarchy |
US5251306A (en) | 1990-01-16 | 1993-10-05 | Advanced Micro Devices, Inc. | Apparatus for controlling execution of a program in a computing device |
JPH03232034A (en) * | 1990-02-08 | 1991-10-16 | Oki Electric Ind Co Ltd | Cache controller |
US5230068A (en) | 1990-02-26 | 1993-07-20 | Nexgen Microsystems | Cache memory system for dynamically altering single cache memory line as either branch target entry or pre-fetch instruction queue based upon instruction sequence |
US5226130A (en) | 1990-02-26 | 1993-07-06 | Nexgen Microsystems | Method and apparatus for store-into-instruction-stream detection and maintaining branch prediction cache consistency |
US5163140A (en) | 1990-02-26 | 1992-11-10 | Nexgen Microsystems | Two-level branch prediction cache |
EP0449369B1 (en) | 1990-03-27 | 1998-07-29 | Koninklijke Philips Electronics N.V. | A data processing system provided with a performance enhancing instruction cache |
US5058048A (en) | 1990-04-02 | 1991-10-15 | Advanced Micro Devices, Inc. | Normalizing pipelined floating point processing unit |
US5053631A (en) | 1990-04-02 | 1991-10-01 | Advanced Micro Devices, Inc. | Pipelined floating point processing unit |
EP0459232B1 (en) | 1990-05-29 | 1998-12-09 | National Semiconductor Corporation | Partially decoded instruction cache and method therefor |
US5283873A (en) | 1990-06-29 | 1994-02-01 | Digital Equipment Corporation | Next line prediction apparatus for a pipelined computed system |
US5235697A (en) | 1990-06-29 | 1993-08-10 | Digital Equipment | Set prediction cache memory system using bits of the main memory address |
JP2834289B2 (en) | 1990-07-20 | 1998-12-09 | 株式会社日立製作所 | Microprocessor |
US5412787A (en) * | 1990-11-21 | 1995-05-02 | Hewlett-Packard Company | Two-level TLB having the second level TLB implemented in cache tag RAMs |
US5210845A (en) | 1990-11-28 | 1993-05-11 | Intel Corporation | Controller for two-way set associative cache |
JP2636088B2 (en) | 1991-03-15 | 1997-07-30 | 甲府日本電気株式会社 | Information processing device |
JPH0535592A (en) * | 1991-07-29 | 1993-02-12 | Toshiba Corp | Cache memory device |
JPH0535591A (en) * | 1991-07-29 | 1993-02-12 | Toshiba Corp | Cache memory device |
US5345569A (en) | 1991-09-20 | 1994-09-06 | Advanced Micro Devices, Inc. | Apparatus and method for resolving dependencies among a plurality of instructions within a storage device |
GB2263987B (en) | 1992-02-06 | 1996-03-06 | Intel Corp | End bit markers for instruction decode |
GB2263985B (en) | 1992-02-06 | 1995-06-14 | Intel Corp | Two stage window multiplexors for deriving variable length instructions from a stream of instructions |
JP2761688B2 (en) | 1992-02-07 | 1998-06-04 | 三菱電機株式会社 | Data processing device |
WO1993017385A1 (en) | 1992-02-27 | 1993-09-02 | Intel Corporation | Dynamic flow instruction cache memory |
US5418922A (en) | 1992-04-30 | 1995-05-23 | International Business Machines Corporation | History table for set prediction for accessing a set associative cache |
US5423011A (en) | 1992-06-11 | 1995-06-06 | International Business Machines Corporation | Apparatus for initializing branch prediction information |
WO1994003856A1 (en) | 1992-08-07 | 1994-02-17 | Massachusetts Institute Of Technology | Column-associative cache |
JPH06314241A (en) | 1993-03-04 | 1994-11-08 | Sharp Corp | High-speed semiconductor memory and high-speed associative storage device |
US5454117A (en) | 1993-08-25 | 1995-09-26 | Nexgen, Inc. | Configurable branch prediction for a processor performing speculative execution |
IE80854B1 (en) | 1993-08-26 | 1999-04-07 | Intel Corp | Processor ordering consistency for a processor performing out-of-order instruction execution |
DE4333547A1 (en) * | 1993-10-01 | 1995-04-06 | Hoechst Ag | Process for recycling residues containing cellulosic fibers and synthetic polymers |
DE69429061T2 (en) | 1993-10-29 | 2002-07-18 | Advanced Micro Devices Inc | Superskalarmikroprozessoren |
US5606683A (en) * | 1994-01-28 | 1997-02-25 | Quantum Effect Design, Inc. | Structure and method for virtual-to-physical address translation in a translation lookaside buffer |
US5671444A (en) | 1994-02-28 | 1997-09-23 | Intel Corporaiton | Methods and apparatus for caching data in a non-blocking manner using a plurality of fill buffers |
EP0675443A1 (en) | 1994-03-30 | 1995-10-04 | Digital Equipment Corporation | Apparatus and method for accessing direct mapped cache |
US5521306A (en) * | 1994-04-26 | 1996-05-28 | Xerox Corporation | Processes for the preparation of hydroxygallium phthalocyanine |
US5559975A (en) | 1994-06-01 | 1996-09-24 | Advanced Micro Devices, Inc. | Program counter update mechanism |
US5813031A (en) * | 1994-09-21 | 1998-09-22 | Industrial Technology Research Institute | Caching tag for a large scale cache computer memory system |
US5509119A (en) | 1994-09-23 | 1996-04-16 | Hewlett-Packard Company | Fast comparison method and apparatus for error corrected cache tags |
JP3456768B2 (en) * | 1994-09-28 | 2003-10-14 | 株式会社東芝 | Address translator |
US5640532A (en) | 1994-10-14 | 1997-06-17 | Compaq Computer Corporation | Microprocessor cache memory way prediction based on the way of previous memory read |
US5835951A (en) | 1994-10-18 | 1998-11-10 | National Semiconductor | Branch processing unit with target cache read prioritization protocol for handling multiple hits |
US5732242A (en) | 1995-03-24 | 1998-03-24 | Silicon Graphics, Inc. | Consistently specifying way destinations through prefetching hints |
US5764946A (en) | 1995-04-12 | 1998-06-09 | Advanced Micro Devices | Superscalar microprocessor employing a way prediction unit to predict the way of an instruction fetch address and to concurrently provide a branch prediction address corresponding to the fetch address |
US5845323A (en) | 1995-08-31 | 1998-12-01 | Advanced Micro Devices, Inc. | Way prediction structure for predicting the way of a cache in which an access hits, thereby speeding cache access time |
US5752069A (en) | 1995-08-31 | 1998-05-12 | Advanced Micro Devices, Inc. | Superscalar microprocessor employing away prediction structure |
US5893146A (en) | 1995-08-31 | 1999-04-06 | Advanced Micro Design, Inc. | Cache structure having a reduced tag comparison to enable data transfer from said cache |
US5802594A (en) | 1995-09-06 | 1998-09-01 | Intel Corporation | Single phase pseudo-static instruction translation look-aside buffer |
US5918245A (en) | 1996-03-13 | 1999-06-29 | Sun Microsystems, Inc. | Microprocessor having a cache memory system using multi-level cache set prediction |
AU7720096A (en) | 1996-11-04 | 1998-05-29 | Advanced Micro Devices Inc. | A way prediction structure |
US6065091A (en) * | 1997-05-30 | 2000-05-16 | Via-Cyrix, Inc. | Translation look-aside buffer slice circuit and method of operation |
US5956746A (en) | 1997-08-13 | 1999-09-21 | Intel Corporation | Computer system having tag information in a processor and cache memory |
US6016533A (en) | 1997-12-16 | 2000-01-18 | Advanced Micro Devices, Inc. | Way prediction logic for cache array |
US6016545A (en) | 1997-12-16 | 2000-01-18 | Advanced Micro Devices, Inc. | Reduced size storage apparatus for storing cache-line-related data in a high frequency microprocessor |
US6212602B1 (en) * | 1997-12-17 | 2001-04-03 | Sun Microsystems, Inc. | Cache tag caching |
JP3439350B2 (en) * | 1998-10-02 | 2003-08-25 | Necエレクトロニクス株式会社 | Cache memory control method and cache memory control device |
US6418521B1 (en) | 1998-12-23 | 2002-07-09 | Intel Corporation | Hierarchical fully-associative-translation lookaside buffer structure |
US6425055B1 (en) | 1999-02-24 | 2002-07-23 | Intel Corporation | Way-predicting cache memory |
US6687789B1 (en) | 2000-01-03 | 2004-02-03 | Advanced Micro Devices, Inc. | Cache which provides partial tags from non-predicted ways to direct search if way prediction misses |
JP3732397B2 (en) * | 2000-10-05 | 2006-01-05 | 株式会社日立製作所 | Cash system |
US6553477B1 (en) | 2000-11-06 | 2003-04-22 | Fujitsu Limited | Microprocessor and address translation method for microprocessor |
JP2003196157A (en) * | 2001-12-25 | 2003-07-11 | Mitsubishi Electric Corp | Processor device and memory management method |
-
2003
- 2003-09-03 US US10/653,749 patent/US7117290B2/en not_active Expired - Fee Related
-
2004
- 2004-06-04 WO PCT/US2004/018042 patent/WO2005024635A2/en active Application Filing
- 2004-06-04 DE DE112004001608.8T patent/DE112004001608B4/en not_active Expired - Fee Related
- 2004-06-04 GB GB0605621A patent/GB2421826B/en not_active Expired - Fee Related
- 2004-06-04 CN CNB2004800252914A patent/CN100485638C/en not_active Expired - Fee Related
- 2004-06-04 KR KR1020067003890A patent/KR101014395B1/en not_active IP Right Cessation
- 2004-06-04 JP JP2006525316A patent/JP2007504552A/en active Pending
- 2004-08-20 TW TW093125089A patent/TW200519590A/en unknown
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6138225A (en) * | 1997-12-24 | 2000-10-24 | Intel Corporation | Address translation system having first and second translation look aside buffers |
US6560679B2 (en) * | 2000-06-05 | 2003-05-06 | Samsung Electronics Co., Ltd. | Method and apparatus for reducing power consumption by skipping second accesses to previously accessed cache lines |
Non-Patent Citations (4)
Title |
---|
INOUE K ET AL: "A history-based I-cache for low-energy multimedia applications" LOW POWER ELECTRONICS AND DESIGN, 2002. ISLPED '02. PROCEEDINGS OF THE 2002 INTERNATIONAL SYMPOSIUM ON AUG. 12-14, 2002, PISCATAWAY, NJ, USA,IEEE, 12 August 2002 (2002-08-12), pages 148-153, XP010600877 ISBN: 1-58113-475-4 * |
JIN-HYUCK CHOI, JUNG-HOON LEE, SEH-WOONG JEONG, SHIN-DUG KIM AND CHARLES WEEMS: "A Low Power TLB structure for Embedded Systems" COMPUTER ARCHITECTURE LETTERS, [Online] vol. 1, January 2002 (2002-01), XP002319140 Retrieved from the Internet: URL:http://www.cs.virginia.edu/~tcca/2002/ choi_jan02.pdf> [retrieved on 2005-02-24] * |
JUNG-HOON LEE ET AL: "A selective filter-bank tlb system" PROCEEDINGS OF THE 2003 INTERNATIONAL SYMPOSIUM ON LOW POWER ELECTRONICS AND DESIGN. ISLPED'03. SEOUL, KOREA, AUG. 25 - 27, 2003, INTERNATIONAL SYMPOSIUM ON LOW POWER ELCTRONICS AND DESIGN, NEW YORK, NY : ACM, US, 25 August 2003 (2003-08-25), pages 312-317, XP010658658 ISBN: 1-58113-682-X * |
YOUTAO ZHANG ET AL: "Low cost instruction cache designs for tag comparison elimination" PROCEEDINGS OF THE 2003 INTERNATIONAL SYMPOSIUM ON LOW POWER ELECTRONICS AND DESIGN. ISLPED'03. SEOUL, KOREA, AUG. 25 - 27, 2003, INTERNATIONAL SYMPOSIUM ON LOW POWER ELCTRONICS AND DESIGN, NEW YORK, NY : ACM, US, 25 August 2003 (2003-08-25), pages 266-269, XP010658648 ISBN: 1-58113-682-X * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009514114A (en) * | 2005-12-30 | 2009-04-02 | インテル・コーポレーション | Method and system for optimizing dynamic memory sizing latency |
KR100692976B1 (en) * | 2006-02-08 | 2007-03-12 | 삼성전자주식회사 | Method and system for providing interprocessor data communication |
US8190853B2 (en) | 2007-06-20 | 2012-05-29 | Fujitsu Limited | Calculator and TLB control method |
Also Published As
Publication number | Publication date |
---|---|
DE112004001608T5 (en) | 2006-08-10 |
CN100485638C (en) | 2009-05-06 |
KR101014395B1 (en) | 2011-02-15 |
KR20060067964A (en) | 2006-06-20 |
DE112004001608B4 (en) | 2018-09-06 |
WO2005024635A3 (en) | 2005-05-26 |
JP2007504552A (en) | 2007-03-01 |
US7117290B2 (en) | 2006-10-03 |
GB2421826B (en) | 2007-04-11 |
GB0605621D0 (en) | 2006-04-26 |
TW200519590A (en) | 2005-06-16 |
GB2421826A (en) | 2006-07-05 |
US20050050277A1 (en) | 2005-03-03 |
CN1846200A (en) | 2006-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7117290B2 (en) | MicroTLB and micro tag for reducing power in a processor | |
US20050050278A1 (en) | Low power way-predicted cache | |
US6687789B1 (en) | Cache which provides partial tags from non-predicted ways to direct search if way prediction misses | |
US6604187B1 (en) | Providing global translations with address space numbers | |
US7284112B2 (en) | Multiple page size address translation incorporating page size prediction | |
KR100884351B1 (en) | Using type bits to track storage of ecc and predecode bits in a level two cache | |
EP1388065B1 (en) | Method and system for speculatively invalidating lines in a cache | |
US8161246B2 (en) | Prefetching of next physically sequential cache line after cache line that includes loaded page table entry | |
US4797814A (en) | Variable address mode cache | |
TWI512615B (en) | Access map-pattern match based prefetch unit for a processor | |
US6157993A (en) | Prefetching data using profile of cache misses from earlier code executions | |
US6571318B1 (en) | Stride based prefetcher with confidence counter and dynamic prefetch-ahead mechanism | |
KR100586057B1 (en) | Using ecc/parity bits to store predecode information | |
TWI388984B (en) | Microprocessor, method and computer program product that perform speculative tablewalks | |
JPH1074166A (en) | Multilevel dynamic set predicting method and its device | |
JP2004503870A (en) | Flush filter for translation index buffer | |
JP2001195303A (en) | Translation lookaside buffer whose function is parallelly distributed | |
US6363471B1 (en) | Mechanism for handling 16-bit addressing in a processor | |
US10929306B2 (en) | Arithmetic processor, information processing apparatus, and control method of arithmetic processor | |
US6704854B1 (en) | Determination of execution resource allocation based on concurrently executable misaligned memory operations | |
US20050182903A1 (en) | Apparatus and method for preventing duplicate matching entries in a translation lookaside buffer | |
US6877069B2 (en) | History-based carry predictor for data cache address generation | |
US7076635B1 (en) | Method and apparatus for reducing instruction TLB accesses | |
US20070011432A1 (en) | Address generation unit with operand recycling |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 200480025291.4 Country of ref document: CN |
|
AK | Designated states |
Kind code of ref document: A2 Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW |
|
AL | Designated countries for regional patents |
Kind code of ref document: A2 Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
WWE | Wipo information: entry into national phase |
Ref document number: 1020067003890 Country of ref document: KR |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2006525316 Country of ref document: JP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 1120040016088 Country of ref document: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 0605621.2 Country of ref document: GB Ref document number: 0605621 Country of ref document: GB |
|
DPEN | Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed from 20040101) | ||
RET | De translation (de og part 6b) |
Ref document number: 112004001608 Country of ref document: DE Date of ref document: 20060810 Kind code of ref document: P |
|
WWE | Wipo information: entry into national phase |
Ref document number: 112004001608 Country of ref document: DE |
|
122 | Ep: pct application non-entry in european phase | ||
REG | Reference to national code |
Ref country code: DE Ref legal event code: 8607 |