diff options
author | Yang Rong <rong.r.yang@intel.com> | 2014-05-30 00:37:30 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@intel.com> | 2014-06-04 10:17:46 +0800 |
commit | 1edc50b11d75883b6895978a20cc29e117eb3f86 (patch) | |
tree | 6a58bfc18529157d5ecb7b00440d525ca4529180 | |
parent | ada63a7258775396d9a2e4935d8284ef1126679d (diff) |
HSW: Fix a compact assert.
Also use const static int instead of const int to avoid build error
in some gcc.
Signed-off-by: Yang Rong <rong.r.yang@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
-rw-r--r-- | backend/src/backend/gen_insn_compact.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/src/backend/gen_insn_compact.cpp b/backend/src/backend/gen_insn_compact.cpp index 43852a76..f19c364d 100644 --- a/backend/src/backend/gen_insn_compact.cpp +++ b/backend/src/backend/gen_insn_compact.cpp @@ -321,6 +321,8 @@ namespace gbe { b.execution_size = GEN_WIDTH_8; else if (execWidth == 16) b.execution_size = GEN_WIDTH_16; + else if (execWidth == 4) + b.execution_size = GEN_WIDTH_4; else if (execWidth == 1) b.execution_size = GEN_WIDTH_1; else |