[Mesa-dev] [PATCH 1/2] util: Add a bitcount.h file and move stuff from both mesa and gallium to it

Matt Turner mattst88 at gmail.com
Wed Oct 29 15:51:55 PDT 2014


On Wed, Oct 29, 2014 at 3:42 PM, Jason Ekstrand <jason at jlekstrand.net> wrote:
> diff --git a/configure.ac b/configure.ac
> index 03f1bca..e2258eb 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -131,6 +131,7 @@ dnl Check for compiler builtins
>  AX_GCC_BUILTIN([__builtin_bswap32])
>  AX_GCC_BUILTIN([__builtin_bswap64])
>  AX_GCC_BUILTIN([__builtin_clz])
> +AX_GCC_BUILTIN([__builtin_clrsb])
>  AX_GCC_BUILTIN([__builtin_clzll])
>  AX_GCC_BUILTIN([__builtin_ctz])
>  AX_GCC_BUILTIN([__builtin_expect])

I think I just need a script that reads mesa-dev and responds to
patches to configure.ac with "Alphabetize!"

Also, the scons file scons/gallium.py needs to be updated (just
duplicating the old gcc version logic).


More information about the mesa-dev mailing list