vc4: Actually allow math results to allocate into r4.
authorEric Anholt <eric@anholt.net>
Fri, 21 Aug 2015 17:57:24 +0000 (10:57 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 21 Aug 2015 20:29:26 +0000 (13:29 -0700)
commiteb2776504ae32feaf41a5bad9f09f154045e96a3
tree42aaf9f1fbb58807ccba1913f42bff009129765f
parent89b1b33f44bc6ce71109ac8668529c30b6d6d910
vc4: Actually allow math results to allocate into r4.

I switched us to tracking whether the results *could* go to r4, but then
didn't make a separate register class for the class bits that included r4.
Switch the "any" class to actually be "any", and name the "any but r4"
class more appropriately.

total instructions in shared programs: 96798 -> 94680 (-2.19%)
instructions in affected programs:     62736 -> 60618 (-3.38%)
src/gallium/drivers/vc4/vc4_context.h
src/gallium/drivers/vc4/vc4_register_allocate.c