mesa/src
Samuel Pitoiset dfd878f2ba aco: combine more s_add+s_lshl to s_lshl<n>_add by ignoring uses
Even if the s_lshl is used more that once, it can still be combined.

fossils-db (Vega10):
Totals from 771 (0.55% of 139517) affected shaders:
SGPRs: 46216 -> 46304 (+0.19%); split: -0.02%, +0.21%
VGPRs: 38488 -> 38464 (-0.06%)
SpillSGPRs: 1894 -> 1875 (-1.00%); split: -3.12%, +2.11%
CodeSize: 5681856 -> 5679844 (-0.04%); split: -0.07%, +0.03%
MaxWaves: 5320 -> 5323 (+0.06%)
Instrs: 1093960 -> 1093474 (-0.04%); split: -0.09%, +0.05%
Cycles: 47198380 -> 47258872 (+0.13%); split: -0.06%, +0.19%
VMEM: 176036 -> 176283 (+0.14%); split: +0.16%, -0.02%
SMEM: 53397 -> 53255 (-0.27%); split: +0.03%, -0.30%
VClause: 23156 -> 23152 (-0.02%); split: -0.03%, +0.01%
SClause: 35716 -> 35726 (+0.03%); split: -0.00%, +0.03%
Copies: 139395 -> 139871 (+0.34%); split: -0.04%, +0.39%
Branches: 33808 -> 33798 (-0.03%); split: -0.04%, +0.01%
PreSGPRs: 35381 -> 35331 (-0.14%); split: -0.20%, +0.06%

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7539>
2020-11-12 07:36:07 +00:00
..
amd aco: combine more s_add+s_lshl to s_lshl<n>_add by ignoring uses 2020-11-12 07:36:07 +00:00
android_stub mesa: Make the android_stub be a set of non-installed shared libraries. 2020-09-22 17:09:22 +00:00
broadcom nir/builder: Add a name format arg to nir_builder_init_simple_shader(). 2020-11-11 08:50:29 -08:00
compiler glsl: Fix typos in comments. 2020-11-11 19:22:08 +00:00
drm-shim drm-shim: Fix unused variable warnings from asserts in release build. 2020-08-28 22:45:08 +00:00
egl egl/dri2: implement createImageFromDmaBufs3 2020-11-02 10:15:47 +01:00
etnaviv etnaviv: drm: fix BO refcount race 2020-10-30 13:27:44 +00:00
freedreno nir/builder: Add a name format arg to nir_builder_init_simple_shader(). 2020-11-11 08:50:29 -08:00
gallium draw: Clean up single-use goto statements. 2020-11-11 18:36:37 +00:00
gbm egl: implement EGL_EXT_protected_surface support 2020-11-02 10:15:47 +01:00
getopt
glx glx: get rid of memory leak 2020-10-26 12:49:09 +00:00
gtest
hgl
imgui
intel intel/compiler: Fix passthrough TCS regressions from program rename 2020-11-11 21:19:40 -08:00
loader loader: Print dlerror() output in the failure message 2020-11-04 21:45:37 +00:00
mapi mesa: Implement GL_ANGLE_pack_reverse_row_order 2020-11-06 02:28:44 +00:00
mesa prog_to_nir: Revert name initialization change 2020-11-11 21:20:15 -08:00
microsoft microsoft/compiler: Add dxil_nir_lower_16bit_conv prototype. 2020-11-11 12:09:52 -08:00
panfrost nir/builder: Add a name format arg to nir_builder_init_simple_shader(). 2020-11-11 08:50:29 -08:00
util mesa: Undefine ALIGN macro before it is used as a function name. Issues on MacOS. 2020-11-11 09:09:45 +00:00
virtio
vulkan util: add mapping from Vulkan to Gallium R64 integer formats 2020-11-09 18:28:59 +00:00
meson.build d3d12: introduce d3d12 gallium driver 2020-11-10 15:37:07 +00:00
SConscript