mesa/src/intel
Jason Ekstrand 47b1dcdcab intel/fs/ra: Only add MRF hack interference if we're spilling
The only use of the MRF hack these days is for spilling and there we
don't need the precise MRF usage information.  If we're spilling then we
know pretty well how many MRFs are going to be used.  It is possible if
the only things that are spilled have fewer SIMD channels than the
dispatch width of the shader that this may be more MRFs than needed.
That's a risk we're willing to takd.

Shader-db results on Kaby Lake:

    total instructions in shared programs: 15311100 -> 15311224 (<.01%)
    instructions in affected programs: 16664 -> 16788 (0.74%)
    helped: 1
    HURT: 5

    total cycles in shared programs: 355543197 -> 355544739 (<.01%)
    cycles in affected programs: 731864 -> 733406 (0.21%)
    helped: 3
    HURT: 6

The hurt shaders are all SIMD32 compute shaders where we reserve enough
space for a 32-wide spill/fill but don't need it.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
2019-05-14 12:30:22 -05:00
..
blorp intel/blorp: Make blorp update the clear color in gen11. 2019-04-29 21:19:59 +00:00
common intel/mi_builder: Disable mem_mem tests on IVB 2019-04-16 12:59:12 -05:00
compiler intel/fs/ra: Only add MRF hack interference if we're spilling 2019-05-14 12:30:22 -05:00
dev intel: drop misleading driver name from gen_get_device_info() 2019-05-11 04:14:06 +00:00
genxml intel/genxml: Update MI_ATOMIC genxml definition. 2019-04-29 21:19:59 +00:00
isl isl: Add restrictions to isl_surf_get_hiz_surf() 2019-05-14 16:23:12 +00:00
perf i965: fix icelake performance query enabling 2019-04-25 01:11:54 +00:00
tools intel/tools: Fix build with glibc < 2.27. 2019-05-13 11:05:48 -07:00
vulkan anv: Implement VK_KHR_uniform_buffer_standard_layout 2019-05-13 17:20:33 -05:00
Android.blorp.mk
Android.common.mk android: static link with libexpat with Android O+ 2019-03-25 10:11:57 +02:00
Android.compiler.mk
Android.dev.mk drm-uapi: use local files, not system libdrm 2019-02-14 11:20:00 +00:00
Android.genxml.mk intel/genxml/icl: Generate packing headers 2018-02-15 16:14:55 -08:00
Android.isl.mk android: intel/isl: remove redundant building rules 2019-02-22 07:56:11 +02:00
Android.mk i965: extract performance query metrics 2019-04-17 14:10:42 +01:00
Android.perf.mk i965: extract performance query metrics 2019-04-17 14:10:42 +01:00
Android.vulkan.mk android: static link with libexpat with Android O+ 2019-03-25 10:11:57 +02:00
Makefile.perf.am i965: extract performance query metrics 2019-04-17 14:10:42 +01:00
Makefile.sources intel/compiler: add a NIR pass to lower conversions 2019-04-18 11:05:18 +02:00
meson.build i965: extract performance query metrics 2019-04-17 14:10:42 +01:00