Loop detection and capture in the instruction queue
Abstract
A system and a method to identify a conditional branch instruction having a program counter and a target address, and increment a loop count each time the program counter and the target address equal a stored program counter and a target address. The system and method additionally includes assignment of a start loop pointer and an end loop pointer, based on an offset, when the loop count is equal to a threshold value, and capturing instructions for a loop, as defined by the start loop pointer and the end loop pointer, in an instruction queue.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 17.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A system, comprising: a pipeline in which a plurality of instructions are processed; an execution unit coupled to the pipeline; an instruction cache coupled to the pipeline; a branch prediction module; a fetch unit, coupled to the pipeline, for placing instructions for a loop in an instruction queue; and detection logic, coupled to the pipeline, for: identifying a conditional branch instruction having a program counter and a target address; incrementing a loop count when the program counter and the target address equal a stored program counter and a stored target address; and detecting a loop
- Claim 2Depends on #1
The system of claim 1 , wherein the system comprises at least one of a battery-operated device and a wireless device.
- Claim 3Depends on #1
The system of claim 1 , wherein the branch prediction module stores the loop
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗