Patent ID: 7065758
Filing Date: 2006-06-20
Classification: G06F

Abstract:
1. A computer-implemented system to optimize code for a family of related functions, comprising: a pre-optimizer configured to generate a pre-optimized code from a program wherein a member function call within the program is replaced with corresponding family-start and member-finish function calls, wherein the pre-optimizer is configured to recognize the member function call as a call to a member function that is included in a family of related mathematical functions and each member function of the family of related mathematical functions is operable to be executed using a set of instructions and a portion of the set of instructions for each member function are identical, wherein the family-start function call is a call to a family-start function performing the identical set of instructions for each member function and the member-finish function call is a call to a member-finish function performing instructions unique to the member function; and an optimizer configured to generate an optimized code based on the pre-optimized code.