• Timothy Arceri's avatar
    nir: evaluate loop terminator condition uses · 18119e2f
    Timothy Arceri authored
    For simple loop terminators we can evaluate all further uses of the
    condition in the loop because we know we must have either exited
    the loop or we have a known value.
    
    shader-db results IVB (all changes from dolphin uber shaders):
    
    total instructions in shared programs: 10022822 -> 10018187 (-0.05%)
    instructions in affected programs: 115380 -> 110745 (-4.02%)
    helped: 54
    HURT: 0
    
    total cycles in shared programs: 232376154 -> 220065064 (-5.30%)
    cycles in affected programs: 143176202 -> 130865112 (-8.60%)
    helped: 54
    HURT: 0
    
    total spills in shared programs: 4383 -> 4370 (-0.30%)
    spills in affected programs: 1656 -> 1643 (-0.79%)
    helped: 9
    HURT: 18
    
    total fills in shared programs: 4610 -> 4581 (-0.63%)
    fills in affected programs: 374 -> 345 (-7.75%)
    helped: 6
    HURT: 0
    18119e2f
Name
Last commit
Last update
bin Loading commit data...
build-support Loading commit data...
docs Loading commit data...
doxygen Loading commit data...
include Loading commit data...
m4 Loading commit data...
scons Loading commit data...
scripts Loading commit data...
src Loading commit data...
.dir-locals.el Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
Android.common.mk Loading commit data...
Android.mk Loading commit data...
CleanSpec.mk Loading commit data...
Makefile.am Loading commit data...
README.rst Loading commit data...
REVIEWERS Loading commit data...
SConstruct Loading commit data...
VERSION Loading commit data...
appveyor.yml Loading commit data...
autogen.sh Loading commit data...
common.py Loading commit data...
configure.ac Loading commit data...
install-gallium-links.mk Loading commit data...
install-lib-links.mk Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...