add 64-bit version of "hadd"
authorHomer Hsing <homer.xing@intel.com>
Wed, 11 Sep 2013 03:04:56 +0000 (11:04 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 11 Sep 2013 07:56:59 +0000 (15:56 +0800)
commitd27953ab9d822443e5e9536f7f0caaa22bd4c5b6
tree8298d71ead9d0ddffed523fc4b507e19b5a3f4f1
parent692af06002a450e7eaa79fa72677f8ce2f87ebd4
add 64-bit version of "hadd"

v2:
  keep top carry bit

passed piglit test cases:

 piglit/framework/../bin/cl-program-tester generated_tests/cl/builtin/int/builtin-long-hadd-1.0.generated.cl
 piglit/framework/../bin/cl-program-tester generated_tests/cl/builtin/int/builtin-ulong-hadd-1.0.generated.cl

Signed-off-by: Homer Hsing <homer.xing@intel.com>
Reviewed-by: "Song, Ruiling" <ruiling.song@intel.com>
backend/src/backend/gen_context.cpp
backend/src/backend/gen_context.hpp
backend/src/backend/gen_insn_gen7_schedule_info.hxx
backend/src/backend/gen_insn_selection.cpp
backend/src/backend/gen_insn_selection.hxx
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.tmpl.h