summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPan Xiuli <xiuli.pan@intel.com>2016-08-22 14:03:03 +0800
committerYang Rong <rong.r.yang@intel.com>2016-10-21 12:26:08 +0800
commitebb404edfb816903236cf2ca39418c05edcd054c (patch)
tree8c8f6b3b432148037321cc6500267eac34cdf190
parent67a28ddd0b67963f1ee1a4e558952291869717cf (diff)
Backend: Resize the selection instruction max dst num
Resize max dst num to 17 for the image block read8 function. Signed-off-by: Pan Xiuli <xiuli.pan@intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
-rw-r--r--backend/src/backend/gen_insn_selection.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/src/backend/gen_insn_selection.hpp b/backend/src/backend/gen_insn_selection.hpp
index 5e28ec92..14ac05f2 100644
--- a/backend/src/backend/gen_insn_selection.hpp
+++ b/backend/src/backend/gen_insn_selection.hpp
@@ -94,8 +94,8 @@ namespace gbe
void setDBGInfo(DebugInfo in) { DBGInfo = in; }
/*! No more than 40 sources (40 sources are used by vme for payload passing and setting) */
enum { MAX_SRC_NUM = 40 };
- /*! No more than 16 destinations (15 used by I64DIV/I64REM) */
- enum { MAX_DST_NUM = 16 };
+ /*! No more than 17 destinations (17 used by image block read8) */
+ enum { MAX_DST_NUM = 17 };
/*! State of the instruction (extra fields neeed for the encoding) */
GenInstructionState state;
union {