assembler: Update the disassembler code

From Mesa. This imports a bit more the of brw_eu* infrastructure (which
is going towards the right direction!) from mesa and the update is quite
a significant improvement over what we had.

I also verified that the changes that were done on the assembler old
version of brw_disasm.c were already supported by the Mesa version, and
indeed they were.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
This commit is contained in:
Damien Lespiau
2013-01-19 00:30:18 +00:00
parent 66fdc85d5b
commit 4ca1a04b85
6 changed files with 1783 additions and 117 deletions
+3 -1
View File
@@ -11,6 +11,8 @@ gram.h: gram.c
intel_gen4asm_SOURCES = \
brw_defines.h \
brw_eu.h \
brw_reg.h \
brw_structs.h \
gen4asm.h \
gram.y \
@@ -19,7 +21,7 @@ intel_gen4asm_SOURCES = \
$(NULL)
intel_gen4disasm_SOURCES = \
disasm.c disasm-main.c
brw_disasm.c disasm-main.c
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = intel-gen4asm.pc