vc4: Coalesce MOVs into VPM with the instructions generating the values

Graphics / Mesa 3D Graphics Library / Mesa - Eric Anholt [anholt.net] - 18 December 2014 17:00 UTC

total instructions in shared programs: 41168 -> 40976 (-0.47%) instructions in affected programs: 18156 -> 17964 (-1.06%)

e06b077 vc4: Coalesce MOVs into VPM with the instructions generating the values.
src/gallium/drivers/vc4/Makefile.sources | 1 +
src/gallium/drivers/vc4/vc4_opt_vpm_writes.c | 117 ++++++++++++++++++++++++++
src/gallium/drivers/vc4/vc4_qir.c | 38 +++++----
src/gallium/drivers/vc4/vc4_qir.h | 2 +
4 files changed, 143 insertions(+), 15 deletions(-)

Upstream: cgit.freedesktop.org


  • Share