Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Count bits




On Nov 28, 2005, at 8:12 AM, Holger Bettag wrote:

The vectorized version from Apple's pages is potentially the fastest, if
you can control the surrounding code and keep overhead low (moving data
between scalar and vector registers is expensive, because you have to go
through memory). Here are a few more scalar alternatives:


http://graphics.stanford.edu/~seander/bithacks.html

I was interested by this statement:

> This method requires a 64-bit CPU with fast modulus division to be efficient.

Can anyone name such a processor?

Ian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
PerfOptimization-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/perfoptimization-dev/email@hidden

This email sent to email@hidden
References: 
 >Count bits (From: Bruno Causse <email@hidden>)
 >Re: Count bits (From: Cameron Hayne <email@hidden>)
 >Re: Count bits (From: Holger Bettag <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.