Debug system having assembler correcting register allocation errors
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)
- 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.
- 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 ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (15)
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.