Backend: Refine block read/write buffer

Graphics / Beignet - Pan Xiuli [intel.com] - 24 June 2016 05:30 UTC

Using max to 8 OWORD as read/write size for high profermance.
V4: Reuse tmp for oword read for small and less vector.
V5: Move all tmp in dst

cafdecc Backend: Refine block read/write buffer
backend/src/backend/gen_context.cpp | 154 +++++++++++++++++++++++++---
backend/src/backend/gen_encoder.cpp | 6 +-
backend/src/backend/gen_insn_selection.cpp | 86 +++++++++++-----
backend/src/libocl/tmpl/ocl_simd.tmpl.cl | 41 +++-----
backend/src/llvm/llvm_gen_backend.cpp | 46 ++++++---
backend/src/llvm/llvm_gen_ocl_function.hxx | 6 ++
backend/src/llvm/llvm_scalarize.cpp | 12 +++
7 files changed, 264 insertions(+), 87 deletions(-)

Upstream: cgit.freedesktop.org


  • Share