assembler: Don't change the size of opcodes!
authorDamien Lespiau <damien.lespiau@intel.com>
Mon, 21 Jan 2013 21:41:36 +0000 (21:41 +0000)
committerDamien Lespiau <damien.lespiau@intel.com>
Mon, 4 Mar 2013 15:54:38 +0000 (15:54 +0000)
commit79c62f1134b2200fc49c43178d846ecba8e37a7b
tree28ee6205be144c8daefebcfeff02cee05fc1931d
parenta45a47183a98e07f7a44330cd68bf65fec8d6dea
assembler: Don't change the size of opcodes!

Until now, the assembler had relocation-related fields added to struct
brw_instruction. This changes the size of the structure and break code
assuming the opcode structure is really 16 bytes, for instance the
emission code in brw_eu_emit.c.

With this commit, we build on the infrastructure that slowly emerged in
the few previous commits to add a relocatable instruction with the
needed fields.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
assembler/brw_structs.h
assembler/gen4asm.h
assembler/gram.y
assembler/main.c