Skip to content

nir/opt_algebraic: optimize 64bit ine/ieq with zero halves

Georg Lehmann requested to merge DadSchoorse/mesa:nir-more-half-zero into main
Foz-DB Navi21:
Totals from 149 (0.19% of 78112) affected shaders:
Instrs: 351361 -> 350109 (-0.36%); split: -0.36%, +0.01%
CodeSize: 1847508 -> 1839764 (-0.42%); split: -0.42%, +0.00%
Latency: 3727716 -> 3724359 (-0.09%)
InvThroughput: 1633585 -> 1631896 (-0.10%)
VClause: 4870 -> 4874 (+0.08%)
SClause: 9936 -> 9926 (-0.10%)
Copies: 62605 -> 62130 (-0.76%); split: -0.77%, +0.01%
PreSGPRs: 5637 -> 5635 (-0.04%)
PreVGPRs: 7968 -> 7931 (-0.46%)

Noticed while looking at the code generated by boolean shuffle lowering.

Merge request reports

Loading