[3/3] Backend: Add half support for CHV and SKL.

Submitted by junyan.he@inbox.com on July 6, 2015, 7:14 a.m.

Details

Message ID 1436166847-5914-1-git-send-email-junyan.he@inbox.com
State New
Headers show

Not browsing as part of any series.

Commit Message

junyan.he@inbox.com July 6, 2015, 7:14 a.m.
From: Junyan He <junyan.he@linux.intel.com>

Signed-off-by: Junyan He <junyan.he@linux.intel.com>
---
 backend/src/backend/gen_insn_selection.cpp | 2 ++
 1 file changed, 2 insertions(+)

Patch hide | download patch | download mbox

diff --git a/backend/src/backend/gen_insn_selection.cpp b/backend/src/backend/gen_insn_selection.cpp
index cdd21e8..af5ab9c 100644
--- a/backend/src/backend/gen_insn_selection.cpp
+++ b/backend/src/backend/gen_insn_selection.cpp
@@ -2052,6 +2052,7 @@  namespace gbe
     this->opaque->setHasLongType(true);
     this->opaque->setLongRegRestrict(true);
     this->opaque->setSlowByteGather(true);
+    this->opaque->setHasHalfType(true);
   }
 
   Selection9::Selection9(GenContext &ctx) : Selection(ctx) {
@@ -2059,6 +2060,7 @@  namespace gbe
     this->opaque->setHasLongType(true);
     this->opaque->setLdMsgOrder(LD_MSG_ORDER_SKL);
     this->opaque->setSlowByteGather(true);
+    this->opaque->setHasHalfType(true);
   }
 
   void Selection::Opaque::TYPED_WRITE(GenRegister *msgs, uint32_t msgNum,