Patents
US 8,756,591 B2#18695706 Most CitedActiveUnited States (USPTO)Utility

Generating compiled code that indicates register liveness

6Forward Citations (#18695706 Global)
0.5/yrCitation Velocity (#15850719 Global)
1.33Citation PageRank (#27680151 Global)
50Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Object code is generated from an internal representation that includes a plurality of source operands. The generating includes performing for each source operand in the internal representation determining whether a last use has occurred for the source operand. The determining includes accessing a data flow graph to determine whether all uses of a live range have been emitted. If it is determined that a last use has occurred for the source operand, an architected resource associated with the source operand is marked for last-use indication. A last-use indication is then generated for the architected resource. Instructions and the last-use indications are emitted into the object code.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for indicating register liveness status in compiled code comprising: generating, by a compiler, object code from a plurality of instructions in an internal representation (IR), the generating comprising, for each of the IR instructions: determining whether a source operand of the IR instruction represents a last-use of a register, the determining comprising accessing a data flow graph to determine whether object code instructions for all other uses of a live range have been emitted by the compiler; and emitting an object code instruction generated from the IR instruction, and a last-u

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 4,763,255 AMethod for generating short form instructions in an optimizing compiler198859
US 5,095,526 AMicroprocessor with improved interrupt response with interrupt data saving dependent upon processor status199259
US 5,303,358 APrefix instruction for modification of a subsequent instruction1994129
US 5,339,431 ASoftware compiler and linker with improved line-number table199452
US 5,469,572 APost compile optimizer for linkable object code199543
US 5,737,629 ADependency checking and forwarding of variable width operands199858
US 5,761,514 ARegister allocation method and apparatus for truncating runaway lifetimes of program variables in a computer system199845
US 5,797,014 AMethod for reducing processor cycles used for global offset table address computation in a position independent shared library199876
US 6,059,840 AAutomatic scheduling of instructions to reduce code size200035
US 6,071,317 AObject code logic analysis and automated modification system and method2000203
US 6,094,719 AReducing data dependent conflicts by converting single precision instructions into microinstructions using renamed phantom registers in a processor having double precision registers200044
US 6,189,088 B1Forwarding stored dara fetched for out-of-order load/read operation to over-taken operation read-accessing same memory location200190
US 6,243,864 B1Compiler for optimizing memory instruction sequences by marking instructions not having multiple memory address paths2001119
US 6,308,258 B1Data processing circuit with target instruction and prefix instruction200131
US 6,314,511 B2Mechanism for freeing registers on processors that perform dynamic out-of-order execution of instructions using renaming registers200184
US 2002073398 A1Method and system for modifying executable code to add additional functionality—85
US 6,408,433 B1Method and apparatus for building calling convention prolog and epilog code using a register allocator200256
JP 2002182926 ACompiling method and computer readable recording medium—15
US 2002095669 A1Interprocedural dead store elimination—27
US 2002124155 A1Processor architecture—37
US 6,449,710 B1Stitching parcels200243
US 6,457,174 B1Program linking apparatus for linking and executing one program and another program using a microprocessor and a program linking method thereof200267
US 2002138824 A1Assembling an object code module—17
US 2003009750 A1Optimizing an executable computer program having linkage functions—32

Non-Patent Literature (5)

  • Adve et al., "Changing Interaction of Compiler and Architecture", 1997, 8 pages.
  • Alto: A Platform for Object Code Modification Robert Muth Title, Abstract, and Chapter 3 Published: 1999.
  • Bednarski et al; "Energy-Optimal Integrated VLIW Code Generation"; Proceedings of 11th Workshop on Compliers for Parallel Computers; 2004; pp. 1-14.
  • Butts et al.; "Use-Based Register Caching with Decoupled Indexing"; Proceedings of the 31st Annual Symposium on Computer Architecture; Jun. 2004; pp. 1-12.
  • Cosmin Oancea, "Machine-Code Generation for Functions," Department of Comupter Science-Univeristy of Copenhagen, Published 2012, 31 pages.