Patents
US 6,192,513 B1#763853 Most CitedExpiredUnited States (USPTO)Utility

Mechanism for finding spare registers in binary code

56Forward Citations (#763853 Global)
2.2/yrCitation Velocity (#1652540 Global)
5.54Citation PageRank (#2805034 Global)
9Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

The inventive system and method determines the availability of spare registers in binary code for use by an instrument or program by conducting a local search of either the immediate block of program code or of successor blocks, depending upon where instrumenting code is to be inserted. When inserting code near the begining the of a block of code, the system checks for available registers within the current block of code after the intended insertion point. A register is considered available if the original program overwrites its contents in a statement succeeding the insertion point without first having read data from this register between the insertion point and the current program statement. The system logs all registers found to be available within the immediate block of code using this approach. When the insertion point is at or near the end of a block of code, the system checks all immediate successor blocks for available registers in the same manmer as for the single block case. The system then determines which registers are available, or overwritten without prior access, in all of the successor blocks and deems only these registers to be available to the inserted instrumenti

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 56.

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method for identifying at least one data storage element referenced in existing program code available for use by inserted code, wherein the program code references a plurality of data storage elements, the method comprising the steps of: identifying an insertion point in said program code where at least one data storage element is required; reviewing program code statements succeeding said insertion point for usage of said plurality of data storage elements; determining availability of said plurality of data storage elements based upon reviewed usage of the plurality of data storage element

  2. Claim 2Depends on #1

    The method of claim 1 , wherein the step of reviewing ends at the conclusion of a predet

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Cited By — Indexed Forward Citations (15 of 56 total)

PatentTitleYearCitations
US 7,093,081 B2Method and apparatus for identifying false cache line sharing200625
US 6,922,830 B1Skip list data storage during compilation200514
US 7,458,078 B2Apparatus and method for autonomic hardware assisted thread stack tracking200818
US 2005210439 A1Method and apparatus for autonomic test case feedback using hardware assistance for data coverage—25
US 7,296,130 B2Method and apparatus for providing hardware assistance for data access coverage on dynamically allocated data200712
US 2011106994 A1Method and apparatus for qualifying collection of performance monitoring events by types of interrupt when interrupt occurs—4
US 7,017,153 B2Uninstrumenting in-line code instrumentation via stack unwinding and cleanup200632
US 2005154839 A1Method and apparatus for identifying false cache line sharing—13
US 2008155510 A1Platform Independent Binary Instrumentation Method—8
US 2005071821 A1Method and apparatus to autonomically select instructions for selective counting—28
US 2008189687 A1Method and Apparatus for Maintaining Performance Monitoring Structures in a Page Table for Use in Monitoring Performance of a Computer Program—43
US 2005155025 A1Autonomic method and apparatus for local program code reorganization using branch count per instruction hardware—7
US 7,082,486 B2Method and apparatus for counting interrupts by type200611
US 2005210198 A1Method and apparatus for prefetching data from a data structure—33
US 2005086455 A1Method and apparatus for generating interrupts for specific types of instructions—8

Non-Patent Literature (5)

  • Cheng et al., "Code generation for a DSP processor", IEEE,1994, pp 82-87.
  • Deodhar, "Optimizing compiler technology streamlines complex systems", Electronic Design, May 1997, vol. 45 No. 9, pp 153-160.
  • Larus et al., "EEL: Machine-independent executable editing", SIGPLAN '95, ACM, 1995, pp 291-300.
  • Wall, "Register windows vs. register allocation", SIGPLAN '88, ACM, 1988, pp 67-78.
  • Wess et al., "Automatic generation of optimized DSP assembly code", IEEE,1995, pp 979-984.