GBE: fixed a bug on simd8 mode for typed_write instruction.
authorZhigang Gong <zhigang.gong@linux.intel.com>
Fri, 24 May 2013 04:02:13 +0000 (12:02 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 29 May 2013 05:57:34 +0000 (13:57 +0800)
commit777283ad1b3eddb335a0dd874d634db158df3261
tree7036717883150ed74cf2d829bf976a7952966005
parentaecec564a9609dc25d5428c7847fad082671e463
GBE: fixed a bug on simd8 mode for typed_write instruction.

On simd8 mode, the total src length equal to 17 thus, we have
to adjust the max src num here, and adjust the bit width of
the srcNum from 4 to 5. After this fix, all the image/gl
related test case could pass on both simd8 and simd16 mode.

Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Tested-by: Lv, Meng <meng.lv@intel.com>
Reviewed-by: Yang Rong <rong.r.yang@intel.com>
backend/src/backend/gen_insn_selection.hpp