Thread overview
Optimization Library
Aug 27, 2008
Craig Black
Aug 27, 2008
Craig Black
Aug 27, 2008
Don
August 27, 2008
When talking to Walter about optimizations on modern hardware, bearophile provided the folowing link to a manual about hardware optimization:

http://www.agner.org/optimize/

The author of the manual also provides a free library called "asmlib":

http://www.agner.org/optimize/

This library provides optimized routines for things like memcpy and strcmp. He provides benchmarks that show that they perform better than the Microsoft, GNU, Intel equivalents when running on modern CPU's.  Should this library be considered for use by Phobos/Tango?

-Craig



August 27, 2008
The second link should read:

http://www.agner.org/optimize/asmlib.zip


August 27, 2008
Craig Black wrote:
> When talking to Walter about optimizations on modern hardware, bearophile provided the folowing link to a manual about hardware optimization:
> 
> http://www.agner.org/optimize/
> 
> The author of the manual also provides a free library called "asmlib":
> 
> http://www.agner.org/optimize/
> 
> This library provides optimized routines for things like memcpy and strcmp. He provides benchmarks that show that they perform better than the Microsoft, GNU, Intel equivalents when running on modern CPU's.  Should this library be considered for use by Phobos/Tango?

It's GPLed. Also the random number generators can't be used in gambling applications (!) So unsuitable for a standard library. Can use the ideas, though <g>.