Virtual condition codes
Abstract
The present invention utilizes a “virtual” condition code (VCC) which can control the instruction sequence in a microprocessor. The virtual condition code is stored in an internal, non-architected register that is not visible to the programmer, but is used by various microprocessor instructions to determine when a branch is to be taken. For example, the virtual condition code can be used as a condition for branching out of a series of repetitive instructions. The virtual condition code (VCC) can eliminate a portion of the processing overhead used when determining whether a sequential number, such as a count value in a register associated with a repetitive instruction, e.g. a LOOP, is zero. In accordance with one aspect of the present invention, a LOOP instruction will decrement a count value in a register (to maintain compatibility with the ISA). However, a corresponding branch instruction will use the virtual condition code, rather than checking the contents of the entire register, to determine whether or not to branch. In this manner, the present invention improves performance by minimizing the amount of hardware resources (i.e. compare logic) utilized while maintaining compatibi
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 8.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A microprocessor having a user application program running thereon, comprising: an execution unit for processing a plurality of microprocessor instructions; a register, inaccessible to said user application program and accessible to selected ones of said plurality of microprocessor instructions generated by said user application program, for storing an indicator; and means for adjusting at least one of said plurality of microprocessor instructions according to a state of said indicator.
- Claim 2Depends on #1
A microprocessor according to claim 1 wherein said adjusted one of said plurality of microprocessor instructions causes said particular action to be taken independent of any other said plurality of microprocessor instructions.
- Claim 3Depends on #2
A microprocessor according to claim 2 further comprising a count r
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗