GBE: fixed one bug for vector relational builtin functions.
authorZhigang Gong <zhigang.gong@linux.intel.com>
Tue, 29 Oct 2013 07:02:15 +0000 (15:02 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Tue, 29 Oct 2013 07:13:15 +0000 (15:13 +0800)
commit7d410f7bdf96028da4a3ac075722b0f44ee81849
tree0d7370104d5ff58a25e1eb9b249f25459992f448
parent0a276d1b549b5f1e8b062878ada6f3b63f177240
GBE: fixed one bug for vector relational builtin functions.

For most vector relational builtin functions, we need to
return -1 if the element result is true, return 0 if the element
result is 0. So we can simply put a - in front of the scalar
version of function for each element.

Reported by Yang Rong.

Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Reviewed-by: Yang Rong <rong.r.yang@intel.com>
backend/src/gen_builtin_vector.py