summaryrefslogtreecommitdiff
path: root/assembler
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2013-02-22 11:14:10 +0800
committerBen Widawsky <benjamin.widawsky@intel.com>2013-11-06 09:39:41 -0800
commitb6a33bdcce9dd3a9c55d9077b380f0d5ec6d0da3 (patch)
tree8ad947ccb7afc20ccb207d2093f4c87589c3828a /assembler
parentbf003ea63434e6acc91b7c0feec6aa2084983a16 (diff)
assembler/bdw: Video Motion Estimation(VME) message
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com> Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'assembler')
-rw-r--r--assembler/gen8_instruction.h8
-rw-r--r--assembler/gram.y7
2 files changed, 14 insertions, 1 deletions
diff --git a/assembler/gen8_instruction.h b/assembler/gen8_instruction.h
index 493187ce..41632348 100644
--- a/assembler/gen8_instruction.h
+++ b/assembler/gen8_instruction.h
@@ -208,6 +208,14 @@ F(ts_request_type, 97, 97)
F(ts_opcode, 96, 96)
/** @} */
+/**
+ * Video Motion Estimation message function control bits:
+ * @ {
+ */
+F(vme_message_type, 110, 109)
+F(vme_binding_table_index, 103, 96)
+/** @} */
+
#undef F
/**
diff --git a/assembler/gram.y b/assembler/gram.y
index 94fff79d..c75e5718 100644
--- a/assembler/gram.y
+++ b/assembler/gram.y
@@ -1778,7 +1778,12 @@ msgtarget: NULL_TOKEN
{
GEN(&$$)->bits3.generic.msg_target = GEN6_SFID_VME;
- if (IS_GENp(6)) {
+ if (IS_GENp(8)) {
+ gen8_set_sfid(GEN8(&$$), GEN6_SFID_VME);
+ gen8_set_header_present(GEN8(&$$), 1); /* Must be 1 */
+ gen8_set_vme_binding_table_index(GEN8(&$$), $3);
+ gen8_set_vme_message_type(GEN8(&$$), $9);
+ } else if (IS_GENp(6)) {
GEN(&$$)->bits2.send_gen5.sfid = GEN6_SFID_VME;
GEN(&$$)->bits3.vme_gen6.binding_table_index = $3;
GEN(&$$)->bits3.vme_gen6.search_path_index = $5;