test 64bit-integer comparing
authorHomer Hsing <homer.xing@intel.com>
Wed, 14 Aug 2013 06:23:51 +0000 (14:23 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 14 Aug 2013 08:09:00 +0000 (16:09 +0800)
commitbafc957bde4ae54d7b01fa07c524885a71f7c9fb
tree3a39c6e03dfa0c659a467e878b16fba1fe2383a1
parent088c01c11b798f96008e682531d6f758083f6018
test 64bit-integer comparing

only work when OCL_POST_ALLOC_INSN_SCHEDULE=0
because the post alloc scheduler puts CMP after SEL, but in IR,
CMP is before SEL, like this
 GT.int64 %34 %31 %33
 LOADI.int64 %38 3
 LOADI.int64 %39 4
 SEL.int64 %35 %34 %38 %39

Signed-off-by: Homer Hsing <homer.xing@intel.com>
Reviwed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
kernels/compiler_long_cmp.cl [new file with mode: 0644]
utests/CMakeLists.txt
utests/compiler_long_cmp.cpp [new file with mode: 0644]