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>
This commit is contained in:
Zhao Yakui
2014-01-23 13:26:12 +08:00
committed by Damien Lespiau
parent d6ff0b3f1f
commit 8dc95202c8
4 changed files with 38 additions and 2 deletions
+2
View File
@@ -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