aco: use nir_addition_might_overflow to combine additions into SMEM

Graphics / Mesa 3D Graphics Library / Mesa - Rhys Perry [gmail.com] - 21 July 2020 18:25 UTC

fossil-db (Navi): Totals from 24656 (18.14% of 135946) affected shaders: CodeSize: 120077160 -> 118877304 (-1.00%); split: -1.01%, +0.01% Instrs: 23192657 -> 22979553 (-0.92%); split: -0.94%, +0.02%
VMEM: 165151115 -> 151861460 (-8.05%); split: +0.14%, -8.19% SMEM: 18133265 -> 16709635 (-7.85%); split: +0.28%, -8.13%
VClause: 385011 -> 384447 (-0.15%); split: -0.16%, +0.02% SClause: 954884 -> 838266 (-12.21%); split: -12.34%, +0.12%

29c39aeaabc aco: use nir_addition_might_overflow to combine additions into SMEM
.../compiler/aco_instruction_selection_setup.cpp | 120 +++++++++++++++++++++
1 file changed, 120 insertions(+)

Upstream: cgit.freedesktop.org


  • Share