×

Circular scheduling method and apparatus for executing computer programs by moving independent instructions out of a loop

  • US 5,386,562 A
  • Filed: 05/13/1992
  • Issued: 01/31/1995
  • Est. Priority Date: 05/13/1992
  • Status: Expired due to Term
First Claim
Patent Images

1. A computer implemented method for improving loop execution performance in executing a computer program, said loop comprising a first plurality of computer instructions and salad computer program including instructions for sequentially executing a number of iterations of said loop wherein said loop has a first iteration, the method comprising:

  • (a) identifying, among said loop instructions, at least one independent instruction which does not require previous execution of another loop instruction in the same iteration;

    (b) moving a first iteration of said at least one independent instruction to a location prior to said loop;

    (c) moving second and subsequent iterations of said at least one independent instruction to a preceding iteration;

    (d) moving all unmoved instructions in the last iteration of said loop to a location after said loop;

    (e) reducing the number of iterations in the loop by one;

    wherein performing steps (a) through (e) results in providing at least one of said first plurality of instructions as an independent instruction; and

    (f) moving said at least one of said first plurality of instructions into a delay slot produced by another loop instruction.

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