GBE: Optimize the forward jump instruction.
authorZhigang Gong <zhigang.gong@intel.com>
Mon, 17 Mar 2014 10:02:37 +0000 (18:02 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Tue, 25 Mar 2014 05:21:46 +0000 (13:21 +0800)
commit28da2d400031860ee4f9f936ef91bf75c5d2c8cd
tree8a5e77cba72a306dcd2ec02fc49d83dc1c9230cc
parent3255c789eb904c11279de40326d2ec9c7b43cb13
GBE: Optimize the forward jump instruction.

As at each BB's begining, we already checked whether all channels are inactive,
we don't really need to do this duplicate checking at the end of forward jump.

This patch get about 25% performance gain for the luxmark's median scene.

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