blender/intern/guardedalloc
Sergey Sharybin a87fb34eda Use advantage of SSE2 instructions in gaussian blur node
This gives around 30% of speedup for gaussian blur node.

Pretty much straightforward implementation inside the node
itself, but needed to implement some additional things:

- Aligned malloc. It's needed to load data onto SSE registers
  faster. based on the aligned_malloc() from Libmv with
  some additional trickery going on to support arbitrary
  alignment (this magic is needed because of MemHead).

  In the practice only 16bit alignment is supported because
  of the lack of aligned malloc with arbitrary alignment
  for OSX. Not a bit deal for now because we need 16 bytes
  alignment at this moment only. Could be tweaked further
  later.

- Memory buffers in compositor are now aligned to 16 bytes.
  Should be harmless for non-SSE cases too. just mentioning.

Reviewers: campbellbarton, lukastoenne, jbakker

Reviewed By: campbellbarton

CC: lockal

Differential Revision: https://developer.blender.org/D564
2014-06-14 00:38:07 +06:00
..
cpp code cleanup: some warnings and formatting for PyMethodDef's in the BGE. 2012-11-10 05:42:50 +00:00
intern Use advantage of SSE2 instructions in gaussian blur node 2014-06-14 00:38:07 +06:00
test/simpletest Added a brie instruction how to build simple memtest 2013-09-05 16:32:44 +00:00
CMakeLists.txt add atomic_ops.h to cmake's source code listing. 2013-10-31 14:09:01 +00:00
MEM_guardedalloc.h Use advantage of SSE2 instructions in gaussian blur node 2014-06-14 00:38:07 +06:00
mmap_win.h * Fix Windows compiler errors after recent Lock-free memory allocator commit. 2013-10-10 16:11:57 +00:00
SConscript Lock-free memory allocator 2013-10-10 11:58:01 +00:00