vc4: Fold the 16-bit integer pack into the instructions generating it.
authorEric Anholt <eric@anholt.net>
Fri, 21 Aug 2015 07:08:13 +0000 (00:08 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 21 Aug 2015 20:29:26 +0000 (13:29 -0700)
commit89b1b33f44bc6ce71109ac8668529c30b6d6d910
treea1a26d951a33898ee9ac9876308a8776d987da6f
parent7e0b868cf31003ada12063398fb91485ed8043dd
vc4: Fold the 16-bit integer pack into the instructions generating it.

total instructions in shared programs: 97580 -> 96798 (-0.80%)
instructions in affected programs:     52826 -> 52044 (-1.48%)
src/gallium/drivers/vc4/vc4_program.c
src/gallium/drivers/vc4/vc4_qir.c
src/gallium/drivers/vc4/vc4_qir.h
src/gallium/drivers/vc4/vc4_qpu_emit.c
src/gallium/drivers/vc4/vc4_register_allocate.c