www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Optimization Library

reply "Craig Black" <cblack ara.com> writes:
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
Aug 27 2008
next sibling parent "Craig Black" <cblack ara.com> writes:
The second link should read:

http://www.agner.org/optimize/asmlib.zip 
Aug 27 2008
prev sibling parent Don <nospam nospam.com.au> writes:
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>.
Aug 27 2008