Title :
Accelerating sine and cosine evaluation with compiler assistance
Author :
Markstein, Peter
Author_Institution :
Hewlett-Packard Labs., Palo Alto, CA, USA
Abstract :
Some software libraries add special entry points to enable both the sine and cosine to be evaluated with one call for performance purposes. We propose another method which does not involve new function names. By having the compiler front end recognize trigonometric function invocations, and replace them with a call to a common function which executes the code common to all the functions, followed by a short routine to produce the desired computation, it is possible to compute both the sine and cosine, when needed in about the same time as to compute only one of them.
Keywords :
function evaluation; mathematics computing; program compilers; remote procedure calls; software libraries; subroutines; compiler assistance; function call; program subroutine; software libraries; trigonometric function evaluation; Acceleration; Algorithms; Code standards; Concurrent computing; Functional programming; Laboratories; Milling machines; Optimizing compilers; Programming profession; Software libraries;
Conference_Titel :
Computer Arithmetic, 2003. Proceedings. 16th IEEE Symposium on
Print_ISBN :
0-7695-1894-X
DOI :
10.1109/ARITH.2003.1207671