freedreno/ir3: split out regmask
authorRob Clark <robdclark@chromium.org>
Sat, 25 Jul 2020 18:05:20 +0000 (11:05 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 28 Jul 2020 09:45:08 +0000 (09:45 +0000)
commitbb98b71893f9f0f8dc277f3e55f652e0cd398666
treeecd892214a8501cb7be7e8bbb7ef4b131ebe589f
parentddcee248adfc5bdd4af25eb81ed981f2ec64d109
freedreno/ir3: split out regmask

To unify the ir3 disasm code, we need to add in the regmask based
register tracking from cffdec's version of the disassembler.  Split
out regmask (or at least the part that doesn't depend on ir3) so
it can be shared.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6070>
src/freedreno/ir3/ir3.h
src/freedreno/ir3/meson.build
src/freedreno/ir3/regmask.h [new file with mode: 0644]