[Beignet] [PATCH 3/3] Backend: Add half support for CHV and SKL.
junyan.he at inbox.com
junyan.he at inbox.com
Mon Jul 6 00:14:07 PDT 2015
From: Junyan He <junyan.he at linux.intel.com>
Signed-off-by: Junyan He <junyan.he at linux.intel.com>
---
backend/src/backend/gen_insn_selection.cpp | 2 ++
1 file changed, 2 insertions(+)
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,
--
1.9.1
More information about the Beignet
mailing list