i965: Add support for emitting and disassembling bit instructions.
authorMatt Turner <mattst88@gmail.com>
Wed, 10 Apr 2013 00:56:19 +0000 (17:56 -0700)
committerMatt Turner <mattst88@gmail.com>
Mon, 6 May 2013 17:17:14 +0000 (10:17 -0700)
commitfa958182b7e7a9a177ec45ffd39d42f15ca756b3
tree98dd5d1c424e148145547c3961526b90035c3bfb
parentc71bee757b52c1e222a4e461f12a93d09998e3da
i965: Add support for emitting and disassembling bit instructions.

Specifically
   bfe - for bitfieldExtract()
   bfi1 and bfi2 - for bitfieldInsert()
   bfrev - for bitfieldReverse()
   cbit - for bitCount()
   fbh - for findMSB()
   fbl - for findLSB()

Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/mesa/drivers/dri/i965/brw_defines.h
src/mesa/drivers/dri/i965/brw_disasm.c
src/mesa/drivers/dri/i965/brw_eu.h
src/mesa/drivers/dri/i965/brw_eu_emit.c