×

Method and apparatus for dynamic conversion of computer instructions

  • US 5,721,854 A
  • Filed: 08/27/1996
  • Issued: 02/24/1998
  • Est. Priority Date: 11/02/1993
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method of executing a computer program, compiled for sequential instruction execution, on a parallel instruction processing system, the method comprising the steps of:

  • retrieving, in response to a cache miss, a group of sequential instructions having a first and second conditional branch instruction, and first and second instructions that are dependent upon the first and second conditional branch instructions, respectively;

    creating a compound instruction for parallel execution including the steps of;

    inserting, for each of the first and second conditional branch instructions, a branch operation, and a branch address, into the compound instruction, the branch condition indicating the condition to be tested, and the branch address indicating where to proceed if the branch is executed;

    inserting, for each of the first and second dependent instructions, a target register, a source operand, an operation indicator, and a dependency indicator, the operation indicator indicating the type of operation to be performed, the source operand indicating the register containing the data for the operation, the target register for containing the result of the operation, and the dependency indicator for indicating whether the execution of the instruction depends upon either the first or second conditional branch instruction; and

    storing the address of the next sequential instruction;

    storing the compound instruction in the cache; and

    indexing the cache according to the address of the first sequential instruction in the compound instruction;

    detecting an exception from the execution of one of the instructions in the compound instruction; and

    executing, in response to the exception, the instructions stored in the compound instruction sequentially.

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