Faster math library than glibc on x86_64 / linux?

Is it possible to replace glibc libm (and headers?) For x86_64-linux faster?

+7
c linux x86-64 libc
source share
3 answers

The math library distributed with ICC is significantly faster for many libm functions, but requires the purchase of ICC. I believe that you can download a free trial if you are interested. I know that they support Linux and believe that they are trying to be compatible with the GCC library. ICC also includes vectorized implementations of many of the libm functions in the Math Kernel library that you may find useful.

+2
source share

Both AMD and Intel have highly optimized math libraries available for their processors. They are not free.

They do not realize simple things. These libraries are designed for fast Fourier transforms, huge matrix problems, etc.

The fast math compiler option will speed up floating point math. However, you will be responsible for your own error checking.

+1
source share

Depending on what kind of mathematical functions you want to run and how large a data set you will run, you can take a look at something like CUDA , which will allow you to use the fast mathematical capabilities of your graphics chip to perform your processing.

-one
source share

All Articles