Invention Grant
- Patent Title: Emit vector optimization of a trace
- Patent Title (中): 发射矢量优化的痕迹
-
Application No.: US11941908Application Date: 2007-11-16
-
Publication No.: US07937564B1Publication Date: 2011-05-03
- Inventor: Matthew William Ashcraft , John Gregory Favor , Christopher Patrick Nelson , Ivan Pavle Radivojevic , Joseph Byron Rowlands , Richard Win Thaik
- Applicant: Matthew William Ashcraft , John Gregory Favor , Christopher Patrick Nelson , Ivan Pavle Radivojevic , Joseph Byron Rowlands , Richard Win Thaik
- Applicant Address: US CA Redwood City
- Assignee: Oracle America, Inc.
- Current Assignee: Oracle America, Inc.
- Current Assignee Address: US CA Redwood City
- Agency: Osha • Liang LLP
- Main IPC: G06F9/30
- IPC: G06F9/30

Abstract:
A method and apparatus for optimizing a sequence of operations adapted for execution by a processor is disclosed to include associating a symbolic expression with each of at least a subset of the registers, holding a set of dependency indications that specify for each particular symbolic expression which, if any, of the other symbolic expressions must be emitted as operations prior to emitting the particular symbolic expression, locating an operation, if any, that is next within the sequence of operations and setting that operation to be a working operation and processing the working operation. Processing is performed by handling the working operation by a combination of updating zero or more of the symbolic expressions and emitting zero or more of the symbolic expressions as operations, identifying which, if any, of the symbolic expressions that were updated in process were updated such that they must be emitted prior to which other, if any, of the symbolic expressions, and then updating the dependency indicators to include any such dependencies, and identifying which, if any, of the symbolic expressions that were updated in process were updated such that they no longer need to be emitted prior to which other, if any, of the symbolic expressions, and then updating the dependency indicators to remove any such dependencies.
Information query