Blender Git Loki

Git Commits -> Revision cf017e8

August 9, 2016, 01:50 (GMT)
Cycles: Fix preprocessor directives around SSE3 replacement functions

The code is supposed to implement replacements for a few SSE4.1-specific functions so that they can be used with SSE3 as well.
Therefore, it was enabled when __KERNEL_SSE3__ was set, but __KERNEL_SSE4__ wasn't.

However, __KERNEL_SSE4__ is never set anywhere - the correct one is __KERNEL_SSE41__.
Because of that, the replacements were enabled for SSE4.1 and better (AVX) as well, where they're not needed, but only slow things down.

Commit Details:

Full Hash: cf017e8181ba23ced63206147d9df5925e08167f
Parent Commit: d23f000
Lines Changed: +8, -6

1 Modified Path:

/intern/cycles/util/util_simd.h (+8, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021