intel/tools: Add gfx12+ support to i965_asm
What does this MR do and why?
This MR implements gfx12 and gfx12.5 support for i965_asm
.
Most important parts are the addition of SWSB, sync
instruction, and refactoring/expansion of send
handling. The rest of the changes are rather minor.
I tested these changes by dumping all of the shader binaries the VK-GL-CTS generates on TGL and DG2 using the first commit in the series. And then trying them in disasm->asm->diff sequence until it produced fully binary-equivalent results, so I can be pretty sure that now assembler should support most if not all valid usages.
Such testing also allowed to uncover a few shortcomings in disasm/codegen, so commits 2-6 are dedicated to fixing them.
Also, turns out that i965_asm
tests were broken for a while, this MR fixes that too.
cc @sagarghuge
Closes: #9975 (closed) Signed-off-by: Sviatoslav Peleshko sviatoslav.peleshko@globallogic.com