Efficient compilation of family of related functio
专利名称:Efficient compilation of family of related
functions
发明人:Peter Markstein,James Thomas,Kevin
Crozier
申请号:US09964769申请日:20010928公开号:US07065757B2公开日:20060620
专利附图:
摘要:Consider a set of functions, each of whose calculations are almost identical. Acommon example is the set of trigonometric functions sine, cosine, and tangent. Each of
these functions is computed by first performing argument reduction and somepreliminary calculations, which are identical for all members of the set. A few uniqueinstructions are performed at the end for each of the functions in the set. Normally, whensuch functions are encountered, a separate sequence of instructions is called for eachfunction even if the functions appear in close proximity. This results in duplicateinstructions being performed which increases execution time and length of compiledprogram. Specialized functions exists to minimize execution, but programs with suchspecialized function calls suffer from non-portability. The present invention includes amethod and a system to optimize function calls for faster execution while maintainingportability. The present invention requires no specialized knowledge on the part of theprogrammer and also utilizes standard compiler optimization techniques.
申请人:Peter Markstein,James Thomas,Kevin Crozier
地址:Woodside CA US,Sunnyvale CA US,Sunnyvale CA US
国籍:US,US,US
更多信息请下载全文后查看
因篇幅问题不能全部显示,请点此查看更多更全内容