[Intel-gfx] [PATCH 0/2] intel-gen4asm: modernization

Ben Widawsky ben at bwidawsk.net
Fri May 6 20:34:25 CEST 2011


I attempted to merge the assembler into the modern age. Ideally we should be
able to push the changes back into mesa since it appears Haihao added some
relevant structs.

I've only done very limited testing on this for my usecase. Wondering if
this seems acceptable to push? What is the best way to actually test
this?

Most of the changes are copy-paste, but only moderate amount of merging
occurred in brw_structs.h, and brw_defines.h

Ben

---
 src/Makefile.am   |    2 +-
 src/brw_defines.h |  539 ++++++++++++++++++++++----
 src/brw_disasm.c  | 1089 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 src/brw_structs.h |  842 +++++++++++++++++++++++++++++------------
 src/disasm-main.c |   32 ++-
 src/disasm.c      |  901 --------------------------------------------
 src/gen4asm.h     |    2 +-
 src/gram.y        |   24 +-
 8 files changed, 2185 insertions(+), 1246 deletions(-)




More information about the Intel-gfx mailing list