add sub_sat test case
authorLu Guanqun <guanqun.lu@intel.com>
Fri, 18 Jan 2013 07:45:58 +0000 (15:45 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 10 Apr 2013 06:52:32 +0000 (14:52 +0800)
commitea2a25567d1095207f71052101440fcfa5211274
treece642cf5ca83d79d543615e140ccc5f6f2d54f3f
parentaecc39f7a9e5607841b6166b3c91027b0aabef3e
add sub_sat test case

Our hardware can't handle the following case properly:

  add.sat g3 g1 -g2

when g1 and g2 are INT_MIN. So let's disable the INT's test case right now.

Signed-off-by: Lu Guanqun <guanqun.lu@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
kernels/compiler_saturate_sub.cl [new file with mode: 0644]
utests/CMakeLists.txt
utests/compiler_saturate_sub.cpp [new file with mode: 0644]