[Beignet] [PATCH] Fix a HSW regression.
Yang Rong
rong.r.yang at intel.com
Wed Oct 15 20:07:37 PDT 2014
slmoffset use as DWORD register, but declare WORD, fix it.
Signed-off-by: Yang Rong <rong.r.yang at intel.com>
---
backend/src/ir/profile.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/backend/src/ir/profile.cpp b/backend/src/ir/profile.cpp
index 57cce4b..295b612 100644
--- a/backend/src/ir/profile.cpp
+++ b/backend/src/ir/profile.cpp
@@ -83,7 +83,7 @@ namespace ir {
DECL_NEW_REG(FAMILY_DWORD, zero, 1);
DECL_NEW_REG(FAMILY_DWORD, one, 1);
DECL_NEW_REG(FAMILY_WORD, retVal, 1);
- DECL_NEW_REG(FAMILY_WORD, slmoffset, 1);
+ DECL_NEW_REG(FAMILY_DWORD, slmoffset, 1);
DECL_NEW_REG(FAMILY_DWORD, printfbptr, 1);
DECL_NEW_REG(FAMILY_DWORD, printfiptr, 1);
DECL_NEW_REG(FAMILY_DWORD, invalid, 1);
--
1.9.1
More information about the Beignet
mailing list