Instruction operand tracing for software debug
Abstract
A tool that enables a user to perform instruction operand tracing during debug is presented. While executing microcode on a simulator, a history of register and memory values is saved. A graphic user interface uses these values to present a view of the microcode in a thread history. The user can use the thread history to select any given cycle time of the simulation, and switch over to a thread window (or code list view). The instruction that executed at the cycle of interest is marked in the code list view, and right-clicking on the code line, the user is given options, including an option to jump backward in time to the code line where a source variable was set and/or the option to jump forward in time to a code line that used a result variable.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 11.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method comprising: receiving a user selection of a first instruction from a list of instructions that executed during a processor simulation; and tracing an operand in the first instruction directly to a use of the operand in a second instruction in the list of instructions by following operand dependencies between such first and second instructions, wherein tracing comprises using attributes of the first instruction to find the second instruction and using a program counter value to look up attributes of the first instruction in an instruction operand map that provides attributes of each in
- Claim 2Depends on #1
The method of claim 1 wherein tracing determines that the second instruction set the value of the oper
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (11 of 11 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (3)
- Ferrante et al., "The Program Dependence Graph and Its Use in Optimization," 1987, ACM, p. 319-349.
- Loh, Gabriel, "A Time-Stamping Algorithm for Efficient Performance Estimation of Superscalar Processors," 2001, ACM, p. 72-81.
- Ramamoorthy et al., "Pipeline Architecture," 1977, ACM, p. 61-102.