[Mesa-dev] [PATCH 1/5] mesa: remove Alpha CPU checks

Aaron Watry awatry at gmail.com
Tue Nov 5 06:27:59 PST 2013


On Mon, Nov 4, 2013 at 7:04 PM, Matt Turner <mattst88 at gmail.com> wrote:
> On Mon, Nov 4, 2013 at 4:48 PM, Brian Paul <brianp at vmware.com> wrote:
>> ---
>>  src/mesa/main/compiler.h |    7 +------
>>  1 file changed, 1 insertion(+), 6 deletions(-)
>>
>> diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
>> index 61ce5db..2752ca8 100644
>> --- a/src/mesa/main/compiler.h
>> +++ b/src/mesa/main/compiler.h
>> @@ -36,11 +36,7 @@
>>
>>  #include <assert.h>
>>  #include <ctype.h>
>> -#if defined(__alpha__) && defined(CCPML)
>> -#include <cpml.h> /* use Compaq's Fast Math Library on Alpha */
>> -#else
>>  #include <math.h>
>> -#endif
>>  #include <limits.h>
>>  #include <stdlib.h>
>>  #include <stdio.h>
>> @@ -317,8 +313,7 @@ static INLINE GLuint CPU_TO_LE32(GLuint x)
>>      defined(__mips) || defined(_MIPS_ARCH) || \
>>      defined(__arm__) || \
>>      defined(__sh__) || defined(__m32r__) || \
>> -    (defined(__sun) && defined(_IEEE_754)) || \
>> -    defined(__alpha__)
>> +    (defined(__sun) && defined(_IEEE_754))
>>  #define USE_IEEE
>>  #define IEEE_ONE 0x3f800000
>>  #endif
>> --
>> 1.7.10.4
>
> I actually have an Alpha with an R300. I'd like this hunk to stay.
> CPML support... feel free to drop.

Agreed.  I've got a PWS 500a that I'm in the process of getting
running again, and I'd hate to lose support for it... but it'll be
running Gentoo, so feel free to drop the CPML bits.

--Aaron


> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev

On Mon, Nov 4, 2013 at 7:04 PM, Matt Turner <mattst88 at gmail.com> wrote:
> On Mon, Nov 4, 2013 at 4:48 PM, Brian Paul <brianp at vmware.com> wrote:
>> ---
>>  src/mesa/main/compiler.h |    7 +------
>>  1 file changed, 1 insertion(+), 6 deletions(-)
>>
>> diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
>> index 61ce5db..2752ca8 100644
>> --- a/src/mesa/main/compiler.h
>> +++ b/src/mesa/main/compiler.h
>> @@ -36,11 +36,7 @@
>>
>>  #include <assert.h>
>>  #include <ctype.h>
>> -#if defined(__alpha__) && defined(CCPML)
>> -#include <cpml.h> /* use Compaq's Fast Math Library on Alpha */
>> -#else
>>  #include <math.h>
>> -#endif
>>  #include <limits.h>
>>  #include <stdlib.h>
>>  #include <stdio.h>
>> @@ -317,8 +313,7 @@ static INLINE GLuint CPU_TO_LE32(GLuint x)
>>      defined(__mips) || defined(_MIPS_ARCH) || \
>>      defined(__arm__) || \
>>      defined(__sh__) || defined(__m32r__) || \
>> -    (defined(__sun) && defined(_IEEE_754)) || \
>> -    defined(__alpha__)
>> +    (defined(__sun) && defined(_IEEE_754))
>>  #define USE_IEEE
>>  #define IEEE_ONE 0x3f800000
>>  #endif
>> --
>> 1.7.10.4
>
> I actually have an Alpha with an R300. I'd like this hunk to stay.
> CPML support... feel free to drop.
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list