freedreno/a3xx/compiler: scheduling/legalize fixes
authorRob Clark <robclark@freedesktop.org>
Wed, 19 Feb 2014 16:55:25 +0000 (11:55 -0500)
committerRob Clark <robclark@freedesktop.org>
Wed, 19 Feb 2014 17:01:26 +0000 (12:01 -0500)
commit5993723471a81003bd82d189836ccdd8d085a7b5
treea33b41ee2bfffdfa29b944addc3b8be06bc369a3
parentbbf8239f92ecd79431dfa41402e1c85318e7267f
freedreno/a3xx/compiler: scheduling/legalize fixes

It seems the write-after-read hazard that applies to texture fetch
instructions, also applies to sfu instructions.

Also, cat5/cat6 instructions do not have a (ss) bit, so in these
cases we need to insert a dummy nop instruction with (ss) bit set.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/ir3_dump.c
src/gallium/drivers/freedreno/a3xx/ir3_ra.c
src/gallium/drivers/freedreno/a3xx/ir3_sched.c