From: Zhigang Gong Date: Thu, 15 Aug 2013 02:51:33 +0000 (+0800) Subject: GBE: fix an illegal instruction. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d86c5301de62efdc59f5701d749d5253ce66a85b;p=contrib%2Fbeignet.git GBE: fix an illegal instruction. Per Gen ISA spec: When ExecSize = Width, VertStride must be set to Width * HorzStride. For horizontal stride 2 in bottom_half, we always use it simd8 mode, so we need to set the vertstride to 16 according to the above restrication. Signed-off-by: Zhigang Gong --- diff --git a/backend/src/backend/gen_register.hpp b/backend/src/backend/gen_register.hpp index c953319..ea1bc06 100644 --- a/backend/src/backend/gen_register.hpp +++ b/backend/src/backend/gen_register.hpp @@ -270,6 +270,7 @@ namespace gbe GenRegister r = *this; r.type = type == GEN_TYPE_UL ? GEN_TYPE_UD : GEN_TYPE_D; r.hstride = GEN_HORIZONTAL_STRIDE_2; + r.vstride = GEN_VERTICAL_STRIDE_16; return r; }