support saturated converting from narrower type to wider type
authorHomer Hsing <homer.xing@intel.com>
Fri, 18 Oct 2013 02:26:56 +0000 (10:26 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Fri, 18 Oct 2013 08:59:29 +0000 (16:59 +0800)
commitb205fb67009947bd4242dad20bd3299b1a657a43
tree1065755670aff273df4e1cd5e4d8521630eaf65b
parent29c26bce96f32441409206e98871988c99f7a231
support saturated converting from narrower type to wider type

This patch supports saturated converting from narrower type to wider type.
It simply returns the parameter.

version 2: not need convert_float_sat(*)

Signed-off-by: Homer Hsing <homer.xing@intel.com>
Reviewed-by: "Yang, Rong R" <rong.r.yang@intel.com>
backend/src/ocl_stdlib.tmpl.h