GBE: change scalar byte size to 2 from 1.
authorZhigang Gong <zhigang.gong@intel.com>
Wed, 7 May 2014 01:39:50 +0000 (09:39 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Tue, 13 May 2014 09:18:18 +0000 (17:18 +0800)
commitf6bcc39d0bd8734178dc8f84a51b6ff0e983c6f7
tree97600af8ff7b641a93b9a6b4d7eef0591c6efa7c
parent89b490b5a17cfda2d9816dc1c246ce5bbff12648
GBE: change scalar byte size to 2 from 1.

Due to the exec size is always larger or equal to 2,
we need to change the scalar byte size to 2 rather than
1. Otherwise, it may generate the following illegal instruction:

(17      )  mov(1)          g127.31<1>UB    0x2UW                           { align1 WE_all };

Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
Reviewed-by: Ruiling Song <ruiling.song@intel.com>
backend/src/backend/gen_reg_allocation.cpp