×

Generating storage reference instructions in an optimizing compiler

  • US 4,656,582 A
  • Filed: 02/04/1985
  • Issued: 04/07/1987
  • Est. Priority Date: 02/04/1985
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for use in an optimizing compiler for generating code for subsequent machine execution which is more efficient in terms of storage references, said method comprising,first generating intermediate code that completely avoids the SR, RS and SS instructions for arithmetic-like data, said code referring to main memory only via "load" and "store" instructions, and wherein all computations are done in registers (register ops) using symbolic RR instructions, optimizing the program by standard techniques including commoning, code motion out of loops, strength reduction, dead code elimination, andlocating predetermined patterns in the code, comprising a `load` op followed by a `register` op or a `store` op referring to the same object(s) and replacing these patterns with a shorter instruction sequence of SR, RS or SS instructions if said predetermined patterns exist.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×