<div dir="ltr">This patch should not be a android specific patch, based on my testing result we should set slow byte gathering to false for CHV platform.<div><br></div><div>Thanks,</div><div>Zhigang Gong.<br><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 19, 2016 at 4:37 PM, Yang Rong <span dir="ltr"><<a href="mailto:rong.r.yang@intel.com" target="_blank">rong.r.yang@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Zhigang Gong <<a href="mailto:zhigang.gong@intel.com">zhigang.gong@intel.com</a>><br>
<br>
Signed-off-by: Zhigang Gong <<a href="mailto:zhigang.gong@intel.com">zhigang.gong@intel.com</a>><br>
---<br>
backend/src/backend/gen_insn_selection.cpp | 4 ++++<br>
1 file changed, 4 insertions(+)<br>
<br>
diff --git a/backend/src/backend/gen_insn_selection.cpp b/backend/src/backend/gen_insn_selection.cpp<br>
index 07901a6..a48f95f 100644<br>
--- a/backend/src/backend/gen_insn_selection.cpp<br>
+++ b/backend/src/backend/gen_insn_selection.cpp<br>
@@ -2349,7 +2349,11 @@ extern bool OCL_DEBUGINFO; // first defined by calling BVAR in program.cpp<br>
this->opaque->setHasLongType(true);<br>
this->opaque->setHasDoubleType(true);<br>
this->opaque->setLongRegRestrict(true);<br>
+#if defined(__ANDROID__)<br>
+ this->opaque->setSlowByteGather(false);<br>
+#else<br>
this->opaque->setSlowByteGather(true);<br>
+#endif<br>
this->opaque->setHasHalfType(true);<br>
opt_features = SIOF_LOGICAL_SRCMOD | SIOF_OP_MOV_LONG_REG_RESTRICT;<br>
}<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.1.4<br>
<br>
_______________________________________________<br>
Beignet mailing list<br>
<a href="mailto:Beignet@lists.freedesktop.org">Beignet@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/beignet" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/beignet</a><br>
</font></span></blockquote></div><br></div>