gallium: assorted additions and fixes to Cell SPE rtasm code
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 10 Sep 2008 23:11:48 +0000 (17:11 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 11 Sep 2008 16:39:28 +0000 (10:39 -0600)
commitee582fd3a7a9ddbcb5595249201cf213a6c6f014
treea2212fc4617ed54c25c7c21451420cea20021d0e
parent04ae4fba3c0a656cf2747fc994b99f99576d0e2b
gallium: assorted additions and fixes to Cell SPE rtasm code

Fix incorrect opcode for fsmbi.
Added "macro" functions for loading floats/ints, register complement, zero, move.
Added #defines for return address and stack pointer registers.
Added assertions to check that the instruction buffer doesn't overflow.
src/gallium/auxiliary/rtasm/rtasm_ppc_spe.c
src/gallium/auxiliary/rtasm/rtasm_ppc_spe.h