[Mesa-dev] [PATCH] mesa: Fix ieee fp on Alpha

Andreas Boll andreas.boll.dev at gmail.com
Sun Jun 16 15:55:43 PDT 2013


2013/6/14 Sven Joachim <svenjoac at gmx.de>

> Commit 1f82bf12ed inadvertently broke it, checking for __IEEE_FLOAT on all
> Alpha machines instead of only on VMS as before.
>
> NOTE: This is a candidate for the 9.1 branch.
>
> Signed-off-by: Sven Joachim <svenjoac at gmx.de>
>

Reviewed-by: Andreas Boll <andreas.boll.dev at gmail.com>


> ---
>  src/mesa/main/compiler.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
> index ad719d4..fb7baf8 100644
> --- a/src/mesa/main/compiler.h
> +++ b/src/mesa/main/compiler.h
> @@ -316,7 +316,7 @@ static INLINE GLuint CPU_TO_LE32(GLuint x)
>      defined(__arm__) || \
>      defined(__sh__) || defined(__m32r__) || \
>      (defined(__sun) && defined(_IEEE_754)) || \
> -    (defined(__alpha__) && defined(__IEEE_FLOAT))
> +    defined(__alpha__)
>  #define USE_IEEE
>  #define IEEE_ONE 0x3f800000
>  #endif
> --
> 1.8.3.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130617/1b9e72d9/attachment.html>


More information about the mesa-dev mailing list