summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Rong <rong.r.yang@intel.com>2014-10-16 11:07:37 +0800
committerZhigang Gong <zhigang.gong@intel.com>2014-10-17 12:26:57 +0800
commitcfe4bc351e46e61c0b3997af6e94def975261928 (patch)
tree7c8762fe1b3e2480e6f5311854dfb5106ad53d4a
parentef153c8025ec84a77be53d0726339d08226bf3cb (diff)
Fix a HSW regression.
slmoffset use as DWORD register, but declare WORD, fix it. Signed-off-by: Yang Rong <rong.r.yang@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
-rw-r--r--backend/src/ir/profile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/src/ir/profile.cpp b/backend/src/ir/profile.cpp
index 57cce4b9..295b612d 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);