mesa/src/gallium/drivers
Pavel Ondračka 24d35a56d9 r300: reorder for easier presubtract 1-x pattern recognition
It is much easier to just add a simple late algebraic pass than actually
trying to teach the backend to recognize all the different patterns.

RV530 shader-db:
total instructions in shared programs: 129643 -> 129468 (-0.13%)
instructions in affected programs: 17665 -> 17490 (-0.99%)
helped: 176
HURT: 39
total presub in shared programs: 4912 -> 5411 (10.16%)
presub in affected programs: 1651 -> 2150 (30.22%)
helped: 0
HURT: 287
total temps in shared programs: 16904 -> 16918 (0.08%)
temps in affected programs: 812 -> 826 (1.72%)
helped: 25
HURT: 37
total cycles in shared programs: 194771 -> 194675 (-0.05%)
cycles in affected programs: 28096 -> 28000 (-0.34%)
helped: 146
HURT: 41

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9364
Reviewed-by: Filip Gawin <filip.gawin@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24830>
2023-08-25 14:48:14 +00:00
..
asahi treewide: Also handle struct nir_builder form 2023-08-24 15:48:02 +00:00
crocus nir: Drop most uses if nir_instr_rewrite_src() 2023-08-18 01:00:15 +00:00
d3d12 treewide: Use nir_shader_intrinsic_pass sometimes 2023-08-24 15:48:02 +00:00
etnaviv nir: unify lower_find_msb with has_{find_msb_rev,uclz} 2023-08-22 12:08:37 +00:00
freedreno egl,venus,vulkan,turnip,freedreno: Update CPU trace init to init more than perfetto. 2023-08-19 23:09:45 +02:00
i915 nir: unify lower_bitfield_extract with has_bfe 2023-08-22 12:08:37 +00:00
iris iris: Check prog[] instead of uncompiled[] for BLORP state skipping 2023-08-25 09:22:57 +00:00
lima nir: Drop most uses if nir_instr_rewrite_src() 2023-08-18 01:00:15 +00:00
llvmpipe ci/deqp: backport fix for dEQP-EGL.functional.wide_color.*_888_colorspace_* 2023-08-22 18:12:08 +00:00
nouveau nouveau/codegen: Add a 4th optimization level for MemoryOpts 2023-08-21 14:26:34 +00:00
panfrost treewide: Use nir_shader_intrinsic_pass sometimes 2023-08-24 15:48:02 +00:00
r300 r300: reorder for easier presubtract 1-x pattern recognition 2023-08-25 14:48:14 +00:00
r600 treewide: Use nir_shader_intrinsic_pass sometimes 2023-08-24 15:48:02 +00:00
radeonsi treewide: Use nir_shader_intrinsic_pass sometimes 2023-08-24 15:48:02 +00:00
softpipe gallium: remove start_slot parameter from pipe_context::set_vertex_buffers 2023-08-11 06:37:22 +00:00
svga svga: fix stride used in vertex declaration 2023-08-23 09:37:38 -07:00
tegra gallium: remove start_slot parameter from pipe_context::set_vertex_buffers 2023-08-11 06:37:22 +00:00
v3d treewide: Use nir_shader_intrinsic_pass sometimes 2023-08-24 15:48:02 +00:00
vc4 vc4: drop duplicate .lower_ldexp 2023-08-19 07:23:32 +00:00
virgl ci: disable Material Testers.x86_64_2020.04.08_13.38_frame799.rdc trace 2023-08-21 22:31:21 +00:00
zink zink: pass KERNEL shaders through successfully 2023-08-25 12:03:29 +00:00