projects
/
contrib
/
beignet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ada63a7
)
HSW: Fix a compact assert.
author
Yang Rong
<rong.r.yang@intel.com>
Thu, 29 May 2014 16:37:30 +0000
(
00:37
+0800)
committer
Zhigang Gong
<zhigang.gong@intel.com>
Wed, 4 Jun 2014 02:17:46 +0000
(10:17 +0800)
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>
backend/src/backend/gen_insn_compact.cpp
patch
|
blob
|
history
diff --git
a/backend/src/backend/gen_insn_compact.cpp
b/backend/src/backend/gen_insn_compact.cpp
index
43852a7
..
f19c364
100644
(file)
--- 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