ir3: Use the new NIR lowering pass for integer multiplication
authorEduardo Lima Mitev <elima@igalia.com>
Sun, 12 May 2019 22:33:57 +0000 (00:33 +0200)
committerEduardo Lima Mitev <elima@igalia.com>
Fri, 7 Jun 2019 06:45:05 +0000 (08:45 +0200)
commitc02ffd2700cc71b08453c2c609b2057681330b4a
tree0684b7d9b6877f3477f2bebb4278858fda4d48ff
parent340277ad719526cd4c02583a08151473cc0a6904
ir3: Use the new NIR lowering pass for integer multiplication

Shader-db stats courtesy of Eric Anholt:

total instructions in shared programs: 6480215 -> 6475457 (-0.07%)
instructions in affected programs: 662105 -> 657347 (-0.72%)
helped: 1209
HURT: 13
total constlen in shared programs: 1432704 -> 1427769 (-0.34%)
constlen in affected programs: 100063 -> 95128 (-4.93%)
helped: 512
HURT: 0
total max_sun in shared programs: 875561 -> 873387 (-0.25%)
max_sun in affected programs: 46179 -> 44005 (-4.71%)
helped: 1087
HURT: 0

Reviewed-by: Eric Anholt <eric@anholt.net>
src/freedreno/ir3/ir3_compiler_nir.c
src/freedreno/ir3/ir3_context.c