aubinator: Make gen_disasm_disassemble handle split sends
authorSirisha Gandikota <Sirisha.Gandikota@intel.com>
Tue, 13 Sep 2016 23:19:30 +0000 (16:19 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 13 Sep 2016 23:32:39 +0000 (16:32 -0700)
commit1ab92d80a8771ac7145d06a9b7983eecc0beaba0
tree84d3609d145937ccd98ee489af79d1a06b42cbaf
parent5d2440532f8ffe80faa9b818fa0c1abff312486f
aubinator: Make gen_disasm_disassemble handle split sends

Skylake adds new SENDS and SENDSC opcodes, which should be
handled in the send-with-EOT check. Make an is_send() helper
that checks if the opcode is SEND/SENDC/SENDS/SENDSC (Ken)

v2: Make is_send() much more crispier, Mix declaration and
code to make the code compact (Ken)

Signed-off-by: Sirisha Gandikota <Sirisha.Gandikota@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/tools/disasm.c