nir/algebraic: i2f(f2i()) -> trunc()
authorElie Tournier <tournier.elie@gmail.com>
Thu, 23 May 2019 16:16:18 +0000 (17:16 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 15 Jan 2020 00:30:52 +0000 (00:30 +0000)
commit6f394343b1f704f8b98a24add7f4106e72e2db7b
tree377f8bbdcea373d2bd1bac41a4029110ce73a387
parent3d9a3d0be0c11f46b23459de14e4f2b2c5daaeb0
nir/algebraic: i2f(f2i()) -> trunc()

total instructions in shared programs: 12840968 -> 12840784 (<.01%)
instructions in affected programs: 17886 -> 17702 (-1.03%)
helped: 77
HURT: 0

total cycles in shared programs: 302508917 -> 302505592 (<.01%)
cycles in affected programs: 249964 -> 246639 (-1.33%)
helped: 70
HURT: 7

Signed-off-by: Elie Tournier <elie.tournier@collabora.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/948>
src/compiler/nir/nir_opt_algebraic.py