Patents
US 7,328,429 B2#9076582 Most CitedExpiredUnited States (USPTO)Utility

Instruction operand tracing for software debug

11Forward Citations (#9076582 Global)
0.6/yrCitation Velocity (#12919034 Global)
2.70Citation PageRank (#9006976 Global)
50Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

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)

  1. 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

  2. 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 ↗

References Cited — Backward Prior Art (50)

PatentTitleYearCitations
US 3,698,007 ACentral processor unit having simulative interpretation capability197223
US 4,730,315 ADiagrammatic method of testing program198878
US 4,819,234 AOperating system debugger1989184
US 4,879,646 AData processing system with a pipelined structure for editing trace memory contents and tracing operations during system debugging198976
US 4,951,195 ACondition code graph analysis for simulating a CPU processor1990104
US 5,148,538 ATranslation look ahead based cache access199285
US 5,167,023 ATranslating a dynamic transfer control instruction address in a simulated CPU processor199298
US 5,168,554 AConverting trace data from processors executing in parallel into graphical form1992131
US 5,301,302 AMemory mapping and special write detection in a system and method for simulating a CPU processor199489
US 5,333,283 ACase block table for predicting the outcome of blocks of conditional branches having a common operand199456
US 5,446,876 AHardware mechanism for instruction/data address tracing199597
US 5,564,028 APipelined data processing including instruction trace199672
US 5,761,474 AOperand dependency tracking system and method for a processor that executes instructions out of order199819
US 5,784,552 ADebugging a computer program by simulating execution forwards and backwards in a main history log and alternative history logs1998128
US 5,857,077 ATracing system having follow-up distribution section for distributing information based on a distribution history of prior distributed information stored in distribution history storing section199925
US 5,862,336 ATracing system for analyzing an information distribution route by automatically gathering distribution histories from systems which the information is routed through199920
US 5,881,288 ADebugging information generation system199962
US 5,896,536 AData triggered trace support for debugging object oriented programs199964
US 5,964,893 AData processing system for performing a trace function and method therefor199984

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.