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

Matt Turner mattst88 at gmail.com
Fri Jun 14 14:07:06 PDT 2013


On Fri, Jun 14, 2013 at 1:10 PM, Sven Joachim <svenjoac at gmx.de> wrote:
> 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>
> ---
>  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

Reviewed-by: Matt Turner <mattst88 at gmail.com>

Will commit.


More information about the mesa-dev mailing list