Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

call _libm_sse2_sincos and _libm_sse2_log

vtuneuser
Beginner
484 Views

I found the following calls from the asm/source code listing,

call _libm_sse2_sincos

call _libm_sse2_log

My guess was the compiler is calling the math library to use sse2 instructions to performace some math functions such as sin,cosin or log? Does any one know about this and can confirm my guess was correct?

Thanks.

0 Kudos
1 Reply
TimP
Honored Contributor III
484 Views
Yes, icc provides a library of sse2 coded math functions. sincos would return both sin() and cos() of the same argument. This should provide better performance than x87 coded functions, when called directly from sse2 code. There are also "short vector" versions in libsvml, which icc may invoke automatically.
0 Kudos
Reply