[Beignet] [PATCH] GBE: We should set no predication/mask for EOT preparation.

Zhigang Gong zhigang.gong at linux.intel.com
Wed Aug 28 23:35:01 PDT 2013


Signed-off-by: Zhigang Gong <zhigang.gong at linux.intel.com>
---
 backend/src/backend/gen_context.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/backend/src/backend/gen_context.cpp b/backend/src/backend/gen_context.cpp
index a029719..f5ba8d8 100644
--- a/backend/src/backend/gen_context.cpp
+++ b/backend/src/backend/gen_context.cpp
@@ -863,11 +863,11 @@ namespace gbe
   }
 
   void GenContext::emitEotInstruction(const SelectionInstruction &insn) {
-    p->MOV(GenRegister::ud8grf(112, 0), GenRegister::ud8grf(0, 0));
     p->push();
       p->curr.predicate = GEN_PREDICATE_NONE;
-      p->curr.execWidth = 8;
       p->curr.noMask = 1;
+      p->MOV(GenRegister::ud8grf(112, 0), GenRegister::ud8grf(0, 0));
+      p->curr.execWidth = 8;
       p->EOT(112);
     p->pop();
   }
-- 
1.7.9.5



More information about the Beignet mailing list