radv: vectorize nir_op_fabs
authorDaniel Schürmann <daniel@schuermann.dev>
Thu, 7 Oct 2021 18:20:23 +0000 (20:20 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 27 Jun 2022 15:07:27 +0000 (15:07 +0000)
commit2e895f8b0496f9f15359a5d98ef722d3d9753bc4
tree7199e6c1b65b9b0ae0dc271dd8c04fd6b97dfc17
parentb45a39c44bef8296d14ecc39c92b83d64db3f209
radv: vectorize nir_op_fabs

Totals from 4 (0.00% of 134913) affected shaders: (GFX10.3)
CodeSize: 37868 -> 36576 (-3.41%)
Instrs: 5332 -> 5169 (-3.06%)
Latency: 24452 -> 24174 (-1.14%)
InvThroughput: 9784 -> 9462 (-3.29%)
VClause: 54 -> 50 (-7.41%)
Copies: 520 -> 519 (-0.19%)
PreVGPRs: 266 -> 264 (-0.75%)

Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15176>
src/amd/compiler/aco_instruction_selection.cpp
src/amd/vulkan/radv_pipeline.c