Damien Lespiau 5e0da9f854 assembler: Factor out the destination register validation
The goal is to use brw_set_dest(), so let's start by validating the
register we have before generating the opcode.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
2013-03-04 15:54:39 +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.