Signed-off-by: Zhigang Gong <zhigang.g...@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

_______________________________________________
Beignet mailing list
Beignet@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/beignet

Reply via email to