SSE Math Library (ACML)

Hi, I want to use a sse/ss2 math library. Currently, I have found one for intel processor called “MKL” (http://www.intel.com/software/products/mkl/).
But for AMD processor, I only find a lib called “ACML” (http://www.developwithamd.com/appPartnerProg/acml/home/index.cfm?action=home).
The problem is : I not sure the second one is a correct lib. I don’t find any function to do “cos” or “sin” or any function like this.
Does anyone know a good sse/sse2 library? Are this lib are the best? Or anyone know how to do a “cos” (for example) in acml

Originally posted by cochondinde:
Hi, I want to use a sse/ss2 math library. Currently, I have found one for intel processor called “MKL” (http://www.intel.com/software/products/mkl/).
But for AMD processor, I only find a lib called “ACML” (http://www.developwithamd.com/appPartnerProg/acml/home/index.cfm?action=home).
The problem is : I not sure the second one is a correct lib. I don’t find any function to do “cos” or “sin” or any function like this.
Does anyone know a good sse/sse2 library? Are this lib are the best? Or anyone know how to do a “cos” (for example) in acml

“Math library” usually implies support for BLAS and LAPACK, not necessarily for trig or transcendental functions. This is probably because they are provided as part of the standard libraries for most languages.

To get an optimized version, you will probably need to do it yourself. It should be easy: download source to a standard library (glibc, macstl, stlport…) and compile it with the correct SSE/SSE2 optimization flags on your compiler, then make sure these libs get linked instead of the default libs.

Good luck.