[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fast math lib?



Hi, 

I think we can separate the vectorized library from other codes.
Then we can use libcpml with vectorized sqrt etc.
The code is independent from other libffm codes, then it is easy to do.

In article <[🔎] Pine.SOL.3.96.1000628162550.22260A-100000@campfire.rrz.Uni-Koeln.DE>
Kerstin.Hoef-Emden@Uni-Koeln.DE writes:

>> 
>> On Mon, 26 Jun 2000, Adam C Powell IV wrote:
>> 
>> > > Both do well, but I'd personally prefer the Compaq CPML library.  It's
>> > > faster in most cases, and provides for more functions (and
>> > > exceptions) than libffm.  I maintain the libffm debs, so those are
>> > > available for use, in case you wanted to keep it "free" though.
>> >=20
>> > Indeed, CPML is faster for most things, but the "vector" routines dsqrtv =
>> and
>> > dsqrtiv in libffm can be several times faster than a loop doing the same.
>> >=20
>> > Try installing libffm-dev, prototypes are in /usr/include/libffm.h .
>> 
>> I guess, this is at the moment a little bit too tricky for me to try. I
>> am a biologist, not a programmer (got stuck after 2/3 of "(dirty) C for
>> Dummies" ... ;-) ). Thank you for that tip anyway, perhaps I will be
>> able one day to roam around C-source codes by myself and optimise. Since
>> my first alien attempts didn=B4t work out too well (the Compaq compiler
>> and math lib were my first try ever to debianise something), I just
>> decided to have at first a working gcc with libffm and give it a little
>> more time to find out about the ccc things to consider.
>> 
>> 
>> 
>> Regards,
>> 
>> Kerstin
>> 
>> 
>> 
>> --=20
>> 
>> =09kerstin.hoef-emden@uni-koeln.de=09=09=09=09=20
>> 
>> 
>> -- 
>> To UNSUBSCRIBE, email to debian-alpha-request@lists.debian.org
>> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>> 
>> 
Naohiko Shimizu
Dept. Communication Engr./Univ. TOKAI
1117 Kitakaname Hiratsuka 259-12 Japan
TEL.+81-463-58-1211(ext. 4084) FAX.+81-463-58-8320



Reply to: