• Ian Romanick's avatar
    nir/range-analysis: Use types to provide better ranges from bcsel and mov · 7e53bebc
    Ian Romanick authored
    Reviewed-by: default avatarCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
    
    All Gen7+ platforms had similar results. (Ice Lake shown)
    total instructions in shared programs: 16328255 -> 16315391 (-0.08%)
    instructions in affected programs: 218318 -> 205454 (-5.89%)
    helped: 988
    HURT: 0
    helped stats (abs) min: 1 max: 72 x̄: 13.02 x̃: 10
    helped stats (rel) min: 0.33% max: 16.04% x̄: 6.27% x̃: 4.88%
    95% mean confidence interval for instructions value: -13.69 -12.35
    95% mean confidence interval for instructions %-change: -6.55% -5.99%
    Instructions are helped.
    
    total cycles in shared programs: 363683977 -> 363615417 (-0.02%)
    cycles in affected programs: 1475193 -> 1406633 (-4.65%)
    helped: 923
    HURT: 36
    helped stats (abs) min: 1 max: 624 x̄: 75.78 x̃: 48
    helped stats (rel) min: 0.08% max: 13.89% x̄: 5.20% x̃: 5.08%
    HURT stats (abs)   min: 1 max: 179 x̄: 38.58 x̃: 4
    HURT stats (rel)   min: 0.06% max: 16.56% x̄: 3.33% x̃: 0.29%
    95% mean confidence interval for cycles value: -75.88 -67.10
    95% mean confidence interval for cycles %-change: -5.10% -4.66%
    Cycles are helped.
    
    Sandy Bridge
    total instructions in shared programs: 10785779 -> 10785654 (<.01%)
    instructions in affected programs: 13855 -> 13730 (-0.90%)
    helped: 67
    HURT: 0
    helped stats (abs) min: 1 max: 15 x̄: 1.87 x̃: 1
    helped stats (rel) min: 0.20% max: 3.45% x̄: 0.97% x̃: 0.78%
    95% mean confidence interval for instructions value: -2.47 -1.26
    95% mean confidence interval for instructions %-change: -1.13% -0.81%
    Instructions are helped.
    
    total cycles in shared programs: 153704799 -> 153704481 (<.01%)
    cycles in affected programs: 101509 -> 101191 (-0.31%)
    helped: 38
    HURT: 13
    helped stats (abs) min: 1 max: 38 x̄: 12.53 x̃: 16
    helped stats (rel) min: 0.07% max: 2.69% x̄: 0.87% x̃: 0.53%
    HURT stats (abs)   min: 1 max: 36 x̄: 12.15 x̃: 7
    HURT stats (rel)   min: 0.06% max: 2.53% x̄: 0.73% x̃: 0.44%
    95% mean confidence interval for cycles value: -10.24 -2.24
    95% mean confidence interval for cycles %-change: -0.75% -0.17%
    Cycles are helped.
    
    LOST:   2
    GAINED: 0
    
    No shader-db change on Iron Lake or GM45.
    7e53bebc
Name
Last commit
Last update
..
glsl Loading commit data...
nir Loading commit data...
spirv Loading commit data...
Android.glsl.gen.mk Loading commit data...
Android.glsl.mk Loading commit data...
Android.mk Loading commit data...
Android.nir.gen.mk Loading commit data...
Android.nir.mk Loading commit data...
Makefile.sources Loading commit data...
SConscript Loading commit data...
SConscript.glsl Loading commit data...
SConscript.nir Loading commit data...
SConscript.spirv Loading commit data...
builtin_type_macros.h Loading commit data...
glsl_types.cpp Loading commit data...
glsl_types.h Loading commit data...
meson.build Loading commit data...
nir_types.cpp Loading commit data...
nir_types.h Loading commit data...
shader_enums.c Loading commit data...
shader_enums.h Loading commit data...
shader_info.h Loading commit data...