GBE: fixed a regression at "Long" div/rem.
authorZhigang Gong <zhigang.gong@intel.com>
Sun, 4 May 2014 00:59:41 +0000 (08:59 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Mon, 5 May 2014 08:19:15 +0000 (16:19 +0800)
commitb3042047af9bf3a78783fcca39a0b005c7d9090a
tree7ffafcbbc1b717a9ee4497db25d442943d3895f8
parent3fa989b610844781bb3c0a1138659cf1bc54a06c
GBE: fixed a regression at "Long" div/rem.

If the GEN_PREDICATE_ALIGN1_ANY8H/ANY16H or ALL8H/ALL16H
are used, we must make sure those inactive lanes are initialized
correctly. For "ANY" condition, all the inactive lanes need to
be clear to zero. For "ALL" condition, all the inactive lanes
need to be set to 1s. Otherwise, it may cause infinite loop.

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