mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 09:26:10 +00:00
This function can only be called to resolve subreg_nr in direct mode (there is an other function for the indirect case) and it makes no sense to call it with an immediate operand. Express those facts with asserts and simplify the logic. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
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.