agx: Add break_if_*cmp instructions
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 29 Aug 2023 19:12:00 +0000 (15:12 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 5 Sep 2023 18:50:34 +0000 (18:50 +0000)
commitffb64283eeb4183f0a8e54c4e6d6a810c6cdbe5f
tree692e1e1d4ebb3a912e55cb2d11a4dbf139e629d0
parentff816f224b8131180bc0d4bf41a91fdb97079710
agx: Add break_if_*cmp instructions

To faciliate break optimizations. We use a more efficient lowering than the
literal transition of the NIR.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25052>
src/asahi/compiler/agx_lower_pseudo.c
src/asahi/compiler/agx_opcodes.py