Fast POP operation from RAM cache using cache row value stack
Abstract
A method and apparatus for performing a fast pop operation from a random access cache is disclosed. The apparatus includes a stack onto which is pushed the row and way of push instruction data stored into the cache. When a pop instruction is encountered, the apparatus uses the row and way values at the top of the stack to access the cache. In one embodiment, an offset of the most recent push data within the current cache line specified by the top row and way values is maintained. The offset is updated on each push or pop. If a pop overflows the offset, the top entry of the stack is popped. If a push underflows the offset, the row and way values are pushed onto the stack. The row, way, and offset values are subsequently compared with the actual pop address to determine whether incorrect data was provided.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 2.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
An apparatus for performing a fast pop operation from a random access cache memory, comprising: a last-in-first-out (LIFO) memory, for storing a plurality of row values, said LIFO having a top entry for storing a newest row value; and a multiplexer, comprising: a first data input, coupled to receive said newest row value from said top entry; a second data input, coupled to receive a row select portion of a memory address of an instruction accessing the cache memory; an output, for providing a value for selecting a row of the cache memory; and a selection input, for specifying a type of said in
- Claim 2Depends on #1
The apparatus of claim 1 , wherein if said selection input specifies a load instruction type, said multiplexer
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (24)
Non-Patent Literature (4)
- "Dual On-Chip Instruction Cache Organization In High Speed Processors." IBM Technical Disclosure Bulletin. IBM Corp. New York, US. vol. 37, No. 12, Dec. 1994, pp. 213-214.
- (In the file JavaStack Cache.doc); Design Issues-Stack Cache; obtained from websites http://murray.newcastle.edu.au/users/students/1999/c9510422/design1.html; murray.newcastle.edu.au/users/students/1999/c9510422/design2.html; murray.newcastle.edu.au/users/students/1999/c9510422/design3.html; murray.
- (In the file SCreport.pdf): Implementing a Stack Cache; Hensath, Morton, Sjodin; obtained from website owlnet.rice.edu/~elec525/projects/SCreport.pdf; accessed on Aug. 13, 2003.
- (In the fine AMD Hammer micro architecture.pdf): AMD's Hammer micro architecture; website chip-architect.com/news/hammer.jpg; accessed on Aug. 29, 2002.