GBE: relax the batch byte/short load vector size restrication.
authorZhigang Gong <zhigang.gong@intel.com>
Thu, 28 Aug 2014 00:44:58 +0000 (08:44 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Wed, 3 Sep 2014 04:30:18 +0000 (12:30 +0800)
commit57099c9fbf69c48f42c41a0c57d2dbb6a6ebd787
tree6b40d0072687981bc242743036b29305fbb99541
parent26fe863701eae975959eade65e87921667b34360
GBE: relax the batch byte/short load vector size restrication.

Previous restrication is that the vector size must be multiple
of DWORD. This restrication prevent the vload2/3 of char or
vload3 of ushort to be optimized. This patch relax this restrication
on the vload path.

Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
Reviewed-by: "Song, Ruiling" <ruiling.song@intel.com>
backend/src/backend/gen_context.cpp
backend/src/backend/gen_insn_selection.cpp
backend/src/llvm/llvm_gen_backend.cpp
backend/src/llvm/llvm_loadstore_optimization.cpp