GBE: fix one illegal instruction.
authorZhigang Gong <zhigang.gong@intel.com>
Fri, 6 Jun 2014 10:05:09 +0000 (18:05 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Mon, 9 Jun 2014 07:14:16 +0000 (15:14 +0800)
commite99f8d2da037595f8b8d9358b3c155d4e6d97229
tree54635a19f57c4b3dcc7fd60fbbcb0c7d4262bd29
parent5cf0af533e3d8e8b1db8f56297871f4f663f5050
GBE: fix one illegal instruction.

When the destination is a scalar and the execution width
is 1, we should use scalar vec rather.

This patch fix the following illegal instruction:
  (38      )  mov(1)          g124.3<1>:F     acc0<8,8,1>:F
to the correct one:
  (38      )  mov(1)          g124.3<1>:F     acc0<0,1,0>:F

Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
Reviewed-by: "Yang, Rong R" <rong.r.yang@intel.com>
backend/src/backend/gen_insn_selection.cpp
backend/src/backend/gen_register.hpp