agx: Add saturated integer add/subtract support
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Sat, 17 Apr 2021 00:49:23 +0000 (20:49 -0400)
committerAlyssa Rosenzweig <none>
Sun, 2 May 2021 21:41:15 +0000 (17:41 -0400)
commit17bb5a067a9e31ceee972f76dc8d3294c101b3aa
tree85b5b6f628a20e67efcfcf7ac297b0df47833080
parent86ae965ea4c0928534947d56fa5fd72107edce72
agx: Add saturated integer add/subtract support

Just a flag on the regular iadd instruction.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10582>
src/asahi/compiler/agx_compile.c