[Mesa-dev] [PATCH] mesa: Make ffs/ffsl conditions match popcount ones.

Eric Anholt eric at anholt.net
Wed Jan 11 12:02:53 PST 2012


On Tue, 10 Jan 2012 23:08:51 -0600, Alexander von Gluck <kallisti5 at unixzen.com> wrote:
> 
> - Ensure mesa code uses the _mesa_ffs(l) functions
>    consistantly instead of jumping around between ffs
>    and _mesa_ffs
> - This makes ffs/ffsl behave more like the popcount code
> - Better detects and handles edge cases of missing ffs/ffsl
> - Use builtin ffs/ffsl more often as it may provide
>    performance improvements

We intentionally don't use those mesa wrappers in our code.  If you have
a portability issue where they're not present on your platform, please
define them on your platform instead of making people use some other
function.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120111/c60a9f8e/attachment.pgp>


More information about the mesa-dev mailing list