Damien Lespiau a45a47183a assembler: Make explicit that labels are part of the instructions list
The output of the parsing is a list of struct brw_program_instruction.
These instructions can be either GEN instructions aka struct
brw_instruction or labels. To make this more explicit we now have a type
to test to determine which instruction we are dealing with.

This will also allow to to pull the relocation bits into struct
brw_program_instruction instead of having them in the structure
representing the opcodes.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-03-04 15:54:38 +00:00
..
2013-03-04 15:54:37 +00:00
2013-03-04 15:54:37 +00:00
2013-03-04 15:54:37 +00:00
2013-03-04 15:54:37 +00:00
2013-03-04 15:54:26 +00:00
2013-03-04 15:54:37 +00:00
2013-03-04 15:54:37 +00:00
2013-03-04 15:54:37 +00:00

intel-gen4asm is a program to compile an assembly language for the Intel 965
Express Chipset.  It has been used to construct programs for textured video in
the 2d driver.

Some examples of gen4 assembly programs are in the doc/examples directory.

Note that the language parsed by this assembler is not exactly what the final
language is going to look like.  In particular, the send instructions need to
be cleaned up and made more reasonable to program with.