pan/midgard: Add predicate->exclude
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 27 Sep 2019 19:43:18 +0000 (15:43 -0400)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 30 Sep 2019 12:40:13 +0000 (08:40 -0400)
commit5a9a48b81a2521cef24e016229e3fbbcc00322eb
tree183d40717695cb93f3cc99838fe3b30a6aba9830
parent6284f3ec257159aecb9493a71e9d311af3b28b0f
pan/midgard: Add predicate->exclude

A bit of a kludge but allows setting an implicit dependency of synthetic
conditional moves on the actual condition, fixing code generated like:

   vmul.feq r0, ..
   sadd.imov r31, .., r0
   vadd.fcsel [...]

The imov runs simultaneous with feq so it gets garbage results, but it's
too late to add an actual dependency practically speaking, since the new
synthetic imov doesn't have a node associated.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/panfrost/midgard/midgard_schedule.c