freedreno/afuc: Split out utils
authorRob Clark <robdclark@chromium.org>
Mon, 17 May 2021 01:43:20 +0000 (18:43 -0700)
committerMarge Bot <eric+marge@anholt.net>
Mon, 31 May 2021 23:34:43 +0000 (23:34 +0000)
commit2876253f28c59939000e24a0ff571f5011a8a47c
treec729a38d6c03a16562aa2d56e0d70d127d3c04d6
parentd367d84d8765d75726279ece43f481673bf5a454
freedreno/afuc: Split out utils

With disasm emulator mode, we'll start wanting some things that are
duplicationg what the assembler does, so just split out all the rnndb
bits into shared utils.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10944>
src/freedreno/afuc/asm.c
src/freedreno/afuc/disasm.c
src/freedreno/afuc/meson.build
src/freedreno/afuc/util.c [new file with mode: 0644]
src/freedreno/afuc/util.h [new file with mode: 0644]