diff options
author | Samuel Pitoiset <[email protected]> | 2020-04-02 17:41:36 +0200 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-12 16:15:17 +0000 |
commit | 4235624b6a1f1858a8f200c03b6492ed1b9f21ec (patch) | |
tree | a75f1be3fe44c999dd8e83f2b30503244e7ceaee /common.py | |
parent | a5fc96b533418dc2d68f17f3f19ac5f82d59b978 (diff) |
aco: optimize add/sub(a, cndmask(b, 0, 1, cond)) -> addc/subbrev_co(0, a, b)
v2: outline into a separate function and also optimize additions (by Daniel Schürmann)
Totals from affected shaders: (VEGA)
SGPRS: 938888 -> 941496 (0.28 %)
VGPRS: 832068 -> 831532 (-0.06 %)
Spilled SGPRs: 618 -> 618 (0.00 %)
Spilled VGPRs: 0 -> 0 (0.00 %)
Private memory VGPRs: 0 -> 0 (0.00 %)
Scratch size: 3696 -> 3696 (0.00 %) dwords per thread
Code Size: 72893900 -> 72558928 (-0.46 %) bytes
LDS: 18201 -> 18201 (0.00 %) blocks
Max Waves: 64256 -> 64268 (0.02 %)
Signed-off-by: Samuel Pitoiset <[email protected]>
Co-authored-by: Daniel Schürmann <[email protected]>
Reviewed-by: Rhys Perry <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4419>
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions