×

Method, apparatus and computer program for executing a program

  • US 7,926,044 B2
  • Filed: 12/31/2007
  • Issued: 04/12/2011
  • Est. Priority Date: 08/30/2003
  • Status: Active Grant
First Claim
Patent Images

1. An apparatus for executing a program comprising a function call and one or more subsequent instructions, the apparatus comprising:

  • means for processing, on a first thread, a function defined by the function call, the function having at least two predefined typical return values;

    means for pre-processing for each predefined return value, on an additional thread, the one or more subsequent instructions which are associated with a given predefined return value, wherein said pre-processing is performed concurrent with the processing of the first thread; and

    ,means, responsive to completion of the processing of said function on said first thread, wherein said function returns an actual return value upon said completion, for continuing processing of the additional thread associated with the actual return value while terminating at least one other additional thread that is not associated with the actual return value, such that the one or more subsequent instructions associated with the actual return value are speculatively executed prior to (i) the completion of the processing of said function and (ii) the return of the actual return value by said function.

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