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

Matt Turner mattst88 at gmail.com
Mon Nov 4 17:05:42 PST 2013


On Mon, Nov 4, 2013 at 5: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.

with that change, this and the rest of the series is

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


More information about the mesa-dev mailing list