nv50/ir: use sched control codes for gm107 builtins
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 19 Dec 2016 23:11:33 +0000 (00:11 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 12 Jan 2017 14:22:01 +0000 (15:22 +0100)
commit90537d6a891df2cefa99b0fdcfec19dbeb8c5a78
treea65a754a056fae4eab4374ccdd886a67fba8baba
parentf519c47f7d47d88ecf3b5e8f28fdffaa12f684d3
nv50/ir: use sched control codes for gm107 builtins

Yes, IMUL/IMAD require dependency barriers and we should
definitely replace these instructions by XMAD but the
different flags need to be figured out. Note that XMAD only
supports 16-bits integers.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Pierre Moreau <pierre.morrow@free.fr>
src/gallium/drivers/nouveau/codegen/lib/gm107.asm
src/gallium/drivers/nouveau/codegen/lib/gm107.asm.h