All times are UTC-06:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue Jun 21, 2005 4:31 pm 
Offline

Joined: Wed Oct 13, 2004 7:26 am
Posts: 348
Hi,
I just uploaded libfreevec after finishing memccpy() as well (which provides from 5% to 750% speed increase over the glibc one.

The lib can be found at

http://people.debian.org/~markos/powerpc/libfreevec.tgz

And I'll soon upload it to the files section in ppczone.org (not now as I have to go in a few minutes :-)

Wrt to the functions, except memmove(), swab() and memchr/memrchr() where I suspect a bug in cases of alignment=15, all the others I'm pretty confident that they work fine. Still, if you find a bug or have some suggestion for further optimization, I'd gladly accept any feedback!

I also include the hashing.c file with hashing functions in several forms, the originals, the vectorized but no altivec (should work in all scalar cpu) and the altivec ones.

I regret not including lots of comments in there, but I've started doing this gradually in all the functions.

When this lib reaches a state where it's complete (ie all relevant glibc functions are vectorized), I'll upload a vectorized glibc package (for Debian, but also the binary) to see if there are any gains in system-wide Altivec use.

Konstantinos


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 17 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group