[Mesa-dev] [PATCH 2/4] mesa: add aarch64 support

Brian Paul brianp at vmware.com
Tue Nov 5 07:31:28 PST 2013


On 11/05/2013 04:49 AM, Fabio Pedretti wrote:
> Patch from Ubuntu package
> ---
>   src/mesa/main/compiler.h | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
> index 2820913..65c4141 100644
> --- a/src/mesa/main/compiler.h
> +++ b/src/mesa/main/compiler.h
> @@ -312,6 +312,7 @@ static INLINE GLuint CPU_TO_LE32(GLuint x)
>       defined(__hppa__) || defined(hpux) || \
>       defined(__mips) || defined(_MIPS_ARCH) || \
>       defined(__arm__) || \
> +    defined(__aarch64__) || \
>       defined(__sh__) || defined(__m32r__) || \
>       (defined(__sun) && defined(_IEEE_754)) || \
>       defined(__alpha__)
>

I believe that's Arm64, right?  If so, it could go on the same line as 
the __arm__ check.  That would follow the pattern of preceding HP and 
MIPS checks.  But not a big deal.

Reviewed-by: Brian Paul <brianp at vmware.com>



More information about the mesa-dev mailing list