Made compiler_clod pass. The image is now properly computed.
authorBenjamin Segovia <benjamin.segovia@intel.com>
Sat, 3 Nov 2012 00:55:20 +0000 (17:55 -0700)
committerBenjamin Segovia <benjamin.segovia@intel.com>
Sat, 3 Nov 2012 00:55:20 +0000 (17:55 -0700)
commit4c5a0cfb128318adfdbc6d87cf77689584ee5bfb
tree7d68c78d5564a94abf145a86764a9413612a93d3
parente4e590258d0d226fbf3193ef8a44c21379a8f61c
Made compiler_clod pass. The image is now properly computed.
I basically added a bunch of new intrinsics and cleaned a bit the ocl std
library. Well, it is not going to be compliant for a while with the spec (mostly
due to precision issues and the way denormals and nan are handled). But,
it should do the job for now.
Started to add a more complex test called "ribbon"
18 files changed:
backend/src/backend/gen_context.cpp
backend/src/backend/gen_encoder.cpp
backend/src/backend/gen_encoder.hpp
backend/src/backend/gen_insn_selection.cpp
backend/src/backend/gen_insn_selection.hxx
backend/src/backend/program.cpp
backend/src/ir/instruction.cpp
backend/src/ir/instruction.hpp
backend/src/ir/instruction.hxx
backend/src/llvm/llvm_gen_backend.cpp
backend/src/llvm/llvm_gen_ocl_function.hxx
backend/src/ocl_stdlib.h
backend/src/ocl_stdlib_str.cpp
kernels/compiler_clod.cl
kernels/compiler_ribbon.cl [new file with mode: 0644]
utests/CMakeLists.txt
utests/compiler_clod.cpp [new file with mode: 0644]
utests/compiler_ribbon.cpp [new file with mode: 0644]