EFFICIENT COMPILATION OF FAMILY OF RELATED FUNCTIONS

Patent №

US 7,065,757

Granted

2006-06-20

Filed 2001

Owner

HEWLETT-PACKARD COMPANY

Lab

AI components

1

hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

09964769

Consider a set of functions, each of whose calculations are almost identical. A common example is the set of trigonometric functions sine, cosine, and tangent. Each of these functions is computed by first performing argument reduction and some preliminary calculations, which are identical for all members of the set. A few unique instructions are performed at the end for each of the functions in the set. Normally, when such functions are encountered, a separate sequence of instructions is called for each function even if the functions appear in close proximity. This results in duplicate instructions being performed which increases execution time and length of compiled program. Specialized functions exists to minimize execution, but programs with such specialized function calls suffer from non-portability. The present invention includes a method and a system to optimize function calls for faster execution while maintaining portability. The present invention requires no specialized knowledge on the part of the programmer and also utilizes standard compiler optimization techniques.

AI hardwareG06F 8/4434G06F 8/4441

AI classification

AI hardware1.00
Natural language0.01
Knowledge representation0.00
Evolutionary computation0.00
Speech0.00
Planning0.00
Machine learning0.00
Vision0.00

Ownership

HEWLETT-PACKARD COMPANY

assignment · 127590351

Assignors

MARKSTEIN, PETER, THOMAS, JAMES W., CROZIER, KEVIN

On an employer assignment, the assignors are typically the inventors.

© 2026 NYSGPT2525 LLC