v3d: Emit a simpler negate for the iabs implementation.
authorEric Anholt <eric@anholt.net>
Tue, 19 Feb 2019 02:13:09 +0000 (18:13 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 19 Feb 2019 02:13:09 +0000 (18:13 -0800)
commit0bba9c8489726fa7ddb855f5ad68b1934dd0312b
tree10783dab613fb461faf54a0e1cbfd96f690709d7
parent1a775d43c9360257b267d097f60fc6ef751730f2
v3d: Emit a simpler negate for the iabs implementation.

One program affected in my shader-db.

instructions in affected programs: 110 -> 108 (-1.82%)
src/broadcom/compiler/nir_to_vir.c