×

Method and apparatus for sequencing computer instruction execution in a data processing system

  • US 5,889,999 A
  • Filed: 05/15/1996
  • Issued: 03/30/1999
  • Est. Priority Date: 05/15/1996
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for sequencing computer instructions for execution in a data processing system, the method comprising the steps of:

  • (a) providing, within a memory, a computer program containing basic blocks wherein each basic block contains at least one computer instruction and the computer program contains many computer instructions;

    (b) executing the computer program by reading the many computer instructions from memory and executing the many computer instructions via a central processing unit (CPU);

    (c) storing, in the memory during the step of executing, a trace data file which indicates an execution order of the basic blocks, the execution order indicating when in time any basic block is executed with respect to other basic blocks, the execution order having a beginning and an end;

    (d) selecting a sequence of M basic blocks from the trace data file to form a selected group, M being a finite positive integer greater than two;

    (e) accumulating, in memory for the selected group, correlation information pertaining to the sequence of M basic blocks from the trace data file by scanning a selection window through the M basic blocks and correlating each of the M basic blocks to each M-1 other basic blocks in the sequence of M basic blocks;

    (f) selecting a different sequence of M basic blocks as the selected group;

    (g) repeating steps (e) through (g) until a selected number of sequences of M basic blocks in the trace data file are processed; and

    (h) using the correlation information obtained via steps (e) through (g) to order the basic blocks for subsequent execution.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×