[ros-dev] [ros-diffs] [jgardou] 58660: [MESA32] * Disable SSE optimizations, as they only cause mayhem.

Jérôme Gardou jerome.gardou at reactos.org
Thu Apr 4 10:34:11 UTC 2013


It causes some kernel mode exception. The code deliberately throws an 
SSE exception to see if the OS supports them. The trap handler considers 
this as a k-mode exception and bug checks.

See http://jira.reactos.org/browse/CORE-6776

Timo Kreuzer a écrit :
>
> What exactly does it cause? And shouldn't we rather fix that, instead of
> disabling optimizations? mesa is already slow enough.
>
> Am 03.04.2013 14:02, schrieb jgardou at svn.reactos.org:
>> Author: jgardou
>> Date: Wed Apr  3 12:02:58 2013
>> New Revision: 58660
>>
>> URL: http://svn.reactos.org/svn/reactos?rev=58660&view=rev
>> Log:
>> [MESA32]
>>   * Disable SSE optimizations, as they only cause mayhem.
>>
>> Modified:
>>      trunk/reactos/dll/opengl/mesa/src/mesa/CMakeLists.txt
>>
>> Modified: trunk/reactos/dll/opengl/mesa/src/mesa/CMakeLists.txt
>> URL:
>> http://svn.reactos.org/svn/reactos/trunk/reactos/dll/opengl/mesa/src/mesa/CMakeLists.txt?rev=58660&r1=58659&r2=58660&view=diff
>>
>> ==============================================================================
>>
>> --- trunk/reactos/dll/opengl/mesa/src/mesa/CMakeLists.txt [iso-8859-1]
>> (original)
>> +++ trunk/reactos/dll/opengl/mesa/src/mesa/CMakeLists.txt [iso-8859-1]
>> Wed Apr  3 12:02:58 2013
>> @@ -33,17 +33,18 @@
>>           x86/3dnow_xform3.S
>>           x86/3dnow_xform4.S
>>           x86/3dnow_normal.S
>> -        x86/sse_xform1.S
>> -        x86/sse_xform2.S
>> -        x86/sse_xform3.S
>> -        x86/sse_xform4.S
>> -        x86/sse_normal.S
>> +        # x86/sse_xform1.S
>> +        # x86/sse_xform2.S
>> +        # x86/sse_xform3.S
>> +        # x86/sse_xform4.S
>> +        # x86/sse_normal.S
>>           x86/read_rgba_span_x86.S)
>>       add_definitions(
>>           -DUSE_X86_ASM
>>           -DUSE_MMX_ASM
>>           -DUSE_3DNOW_ASM
>> -        -DUSE_SSE_ASM)
>> +        # -DUSE_SSE_ASM
>> +    )
>>   endif()
>>   list(APPEND SOURCE
>>
>>
>>
>
>
> _______________________________________________
> Ros-dev mailing list
> Ros-dev at reactos.org
> http://www.reactos.org/mailman/listinfo/ros-dev



More information about the Ros-dev mailing list