swr: [rasterizer core] align Macrotile FIFO memory to SIMD size
authorTim Rowley <timothy.o.rowley@intel.com>
Tue, 4 Oct 2016 17:59:30 +0000 (12:59 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Tue, 11 Oct 2016 16:22:04 +0000 (11:22 -0500)
commit2966d9c691fd0cd51d83204cac6b3194b9dcb878
tree066bd6639329f655ffd19301d500bff2d3ef75f6
parent6b3691c8762320df5afc8a7e79b9da09e272695b
swr: [rasterizer core] align Macrotile FIFO memory to SIMD size

Align and use streaming store instructions for BE fifo queues.
Provides slightly faster enqueue and doesn't pollute the caches.
Add appropriate memory fences to ensure streaming writes are
globally visible.

Signed-off-by: Tim Rowley <timothy.o.rowley@intel.com>
src/gallium/drivers/swr/rasterizer/common/simdintrin.h
src/gallium/drivers/swr/rasterizer/core/context.h
src/gallium/drivers/swr/rasterizer/core/fifo.hpp
src/gallium/drivers/swr/rasterizer/core/threads.cpp