[Beignet] [PATCH 0/5] Add generic constant expression support.
Zhigang Gong
zhigang.gong at intel.com
Wed Jul 23 22:48:56 PDT 2014
Current beignet doesn't support any non-pointer constant expression currently.
This patch set enable generic constant expression processing in beignet.
This patch set also add a new utest to test one constant expression case.
Zhigang Gong (5):
GBE: refactor the immediate class to support vector data type.
GBE: simplify processConstant.
GBE: complete constant expression processing.
GBE: enable constant expression processing.
utest: add new test for constant expression processing.
backend/src/backend/gen_insn_selection.cpp | 58 ++--
backend/src/ir/context.hpp | 30 +-
backend/src/ir/function.cpp | 28 +-
backend/src/ir/function.hpp | 2 +-
backend/src/ir/immediate.hpp | 437 +++++++++++++++++++++++++++--
backend/src/ir/instruction.cpp | 2 +-
backend/src/ir/lowering.cpp | 14 +-
backend/src/ir/type.cpp | 2 +
backend/src/ir/type.hpp | 6 +-
backend/src/llvm/llvm_gen_backend.cpp | 433 +++++++++++++++++-----------
kernels/compiler_constant_expr.cl | 23 ++
utests/CMakeLists.txt | 1 +
utests/compiler_constant_expr.cpp | 35 +++
13 files changed, 829 insertions(+), 242 deletions(-)
create mode 100644 kernels/compiler_constant_expr.cl
create mode 100644 utests/compiler_constant_expr.cpp
--
1.8.3.2
More information about the Beignet
mailing list