summaryrefslogtreecommitdiff
path: root/assembler/gen8_instruction.h
diff options
context:
space:
mode:
authorZhao Yakui <yakui.zhao@intel.com>2014-01-23 13:26:12 +0800
committerDamien Lespiau <damien.lespiau@intel.com>2014-09-30 12:21:03 +0100
commit8dc95202c8c241c50f2e17d3734fc6cb004c076e (patch)
tree91992076783f9993a48e59fbb5096f19bd83be36 /assembler/gen8_instruction.h
parentd6ff0b3f1f78c16a2754454c6134a999affa7f4c (diff)
assembler/skl: update the extdesc field for SEND instruction
The send instruction on gen9 uses the 32bit immediate instead of 6bit immediate for the extended message descriptors. And some bits of SEND instruction are defined as the extdesc field. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Diffstat (limited to 'assembler/gen8_instruction.h')
-rw-r--r--assembler/gen8_instruction.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/assembler/gen8_instruction.h b/assembler/gen8_instruction.h
index 5e72e457..7db47466 100644
--- a/assembler/gen8_instruction.h
+++ b/assembler/gen8_instruction.h
@@ -357,4 +357,6 @@ gen8_set_bits(struct gen8_instruction *insn,
insn->data[word] = (insn->data[word] & ~mask) | ((value << low) & mask);
}
+void gen9_set_send_extdesc(struct gen8_instruction *insn, unsigned int value);
+
#endif