[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [57790] trunk/blender/intern/cycles: Cycles / SSE2:

Brecht Van Lommel brechtvanlommel at pandora.be
Thu Jun 27 01:30:57 CEST 2013


I did some other reshuffling now, hopefully fixes the build error. Not
sure which OS/compiler you were seeing the error on though.

On Thu, Jun 27, 2013 at 1:01 AM, Thomas Dinges <blender at dingto.org> wrote:
> Hi Brecht,
> this unfortunately broke compilation, so I had to do further tweaks.
> http://www.pasteall.org/43541/diff
>
> Now we define the flags we want to use in the actual sse2/sse3 cpu
> kernel files, and include the needed files then in util_types.h
>
> Any suggestion?
>
> Best regards,
> Thomas
>
> Am 27.06.2013 00:12, schrieb Thomas Dinges:
>> Revision: 57790
>>            http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=57790
>> Author:   dingto
>> Date:     2013-06-26 22:12:23 +0000 (Wed, 26 Jun 2013)
>> Log Message:
>> -----------
>> Cycles / SSE2:
>> * kernel_sse2 was built without actual SSE2 intrinsics on x86 systems.
>>
>> Modified Paths:
>> --------------
>>      trunk/blender/intern/cycles/kernel/kernel_sse2.cpp
>>      trunk/blender/intern/cycles/util/util_types.h
>>
>> Modified: trunk/blender/intern/cycles/kernel/kernel_sse2.cpp
>> ===================================================================
>> --- trunk/blender/intern/cycles/kernel/kernel_sse2.cpp        2013-06-26 21:47:08 UTC (rev 57789)
>> +++ trunk/blender/intern/cycles/kernel/kernel_sse2.cpp        2013-06-26 22:12:23 UTC (rev 57790)
>> @@ -22,6 +22,8 @@
>>
>>   #ifdef WITH_OPTIMIZED_KERNEL
>>
>> +#define __KERNEL_SSE2__
>> +
>>   #include "kernel.h"
>>   #include "kernel_compat_cpu.h"
>>   #include "kernel_math.h"
>>
>> Modified: trunk/blender/intern/cycles/util/util_types.h
>> ===================================================================
>> --- trunk/blender/intern/cycles/util/util_types.h     2013-06-26 21:47:08 UTC (rev 57789)
>> +++ trunk/blender/intern/cycles/util/util_types.h     2013-06-26 22:12:23 UTC (rev 57790)
>> @@ -108,6 +108,7 @@
>>   #endif
>>   #endif
>>
>> +/* SSE2 is available on x64 and SSE3 CPUs, so enable here as well */
>>   #ifndef __KERNEL_SSE2__
>>   #define __KERNEL_SSE2__
>>   #endif
>>
>> _______________________________________________
>> Bf-blender-cvs mailing list
>> Bf-blender-cvs at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-blender-cvs
>
>
> --
> Thomas Dinges
> Blender Developer, Artist and Musician
>
> www.dingto.org
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers


More information about the Bf-committers mailing list