utests: Fix a bug in movforphi test case.
authorZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 15 May 2013 10:15:34 +0000 (18:15 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Fri, 17 May 2013 06:18:04 +0000 (14:18 +0800)
commit328f98e7a693713cbc8648b2bdb2074c407db198
treeacf37eb32040c53ad4fac3dec653019faac56015
parente0d9c5b721771d3e8d04bb8f540dc23409901839
utests: Fix a bug in movforphi test case.

This test case is to trigger a old MovForPHI bug, and it
just use read/write_image. But it has a bug in itself.
As in the kernel, the write image will only write the
first lane data not all the 16 lanes. As the previous
patch fix the write_image bug, thus now the write_image
work correctly and thus it only touch the first data element
thus it trigger the bug in this test case. Now fix it.

Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
utests/compiler_movforphi_undef.cpp