GBE: use native exp instruction when enough precision
authorGuo Yejun <yejun.guo@intel.com>
Mon, 20 Jan 2014 00:38:23 +0000 (08:38 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Tue, 21 Jan 2014 00:21:24 +0000 (08:21 +0800)
commit420ee3a0400672c2e2386f06c30ec16222d6c353
treef6985227485117c303e6fad9576517e70ebefb78
parent6eadeb1b3eab8fad516beb0c8592e9b0bb5c5255
GBE: use native exp instruction when enough precision

for the input data with enough precision, use the native exp instruction,
otherwise, use the software path to emulate the exp function.

Signed-off-by: Guo Yejun <yejun.guo@intel.com>
Reviewed-by: "Song, Ruiling" <ruiling.song@intel.com>
backend/src/backend/gen_insn_selection.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