Patents
US 7,478,374 B2#18310900 Most CitedExpiredUnited States (USPTO)Utility

Debug system having assembler correcting register allocation errors

6Forward Citations (#18310900 Global)
0.3/yrCitation Velocity (#22457110 Global)
1.46Citation PageRank (#23794211 Global)
15Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

An assembler, which can be provided as part of a debugger and/or development system, avoids register allocation errors, such as register bank conflicts and/or insufficient physical registers, automatically.

Interactive Citation Constellation Global Citation Ranking

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

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method of allocating registers in an assembler, comprising: processing assembler code to avoid a register bank allocation error including at least one of a register bank conflict and an insufficient number of physical registers in target hardware; automatically manipulating instructions to avoid the register bank allocation errors; coloring a register graph to detect the register bank conflict; identifying registers adjacent to each other in the graph having the same color; and finding a shortest path having an odd length connecting the registers adjacent to each other having the same color.

  2. Claim 2Depends on #1

    The method according to claim 1 , wherein the register bank conflict is associated with instructions in which first and second operands have respective first and second source registers located in a first one of first and second register banks and further inclu

Technical Overview & Description

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

References Cited — Backward Prior Art (15)

PatentTitleYearCitations
US 5,418,958 ARegister allocation by decomposing, re-connecting and coloring hierarchical program regions199532
US 5,530,866 ARegister allocation methods having upward pass for determining and propagating variable usage information and downward pass for binding; both passes utilizing interference graphs via coloring199689
US 5,684,994 AResource assignment apparatus199733
US 5,761,514 ARegister allocation method and apparatus for truncating runaway lifetimes of program variables in a computer system199845
US 5,774,730 AMethod and apparatus for improving colorability of constrained nodes in an interference graph within a computer system199842
US 5,784,066 AMethod and apparatus for using partner information to color nodes in an interference graph within a computer system199837
US 6,321,379 B1Method and system for target register allocation200120
US 2002083112 A1Apparatus and method of developing software for a multi-processor chip—10
US 6,463,582 B1Dynamic optimizing object code translator for architecture emulation and dynamic optimizing object code translation method2002775
US 6,629,312 B1Programmatic synthesis of a machine description for retargeting a compiler200336
US 6,671,827 B2Journaling for parallel hardware threads in multithreaded processor200334
US 6,684,395 B2Multiple image dynamic bind and load procedure for a multi-processor200412
US 2004034743 A1Free list and ring data structure management—39
US 2004205719 A1Hop method for stepping parallel hardware threads—21
US 7,389,501 B1System and method for register allocation using SSA construction200813

Non-Patent Literature (2)

  • Alfred V.Aho et al., Compilers Principles, Techniques and Tools, Sep. 12, 1985, pp. 15-19.
  • Programming Itanium-Based System, Intel Press, 2001, Chapter 6.