freedreno/ir3/tests: Switch disasm test over to new decoder
authorRob Clark <robdclark@chromium.org>
Thu, 31 Dec 2020 19:42:12 +0000 (11:42 -0800)
committerMarge Bot <eric+marge@anholt.net>
Wed, 13 Jan 2021 18:32:47 +0000 (18:32 +0000)
commit01e8bd55de7712f14bd7d29adb9c4d930e9f6df0
tree98456477410c9b2471590c35e0caa497b4d3298d
parent704e49bae06ba98c435c311ffd64d79658fd654e
freedreno/ir3/tests: Switch disasm test over to new decoder

Also, uncomment the `stc` test vectors (since the new decoder decodes
these properly) and comment out an instruction which looks suspiciously
like -6.0 in hex.

This also switches the parser back to `atomic.b.op` from `atomic.op.b`
which was a short-term workaround to make it easier for the legacy
disassembler.

Also switch the binary encoding for ldib to clear b0, because the new
disassembler warns about unexpected dontcare bits (which cases the
disasm to not match).

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7997>
src/freedreno/ir3/ir3_lexer.l
src/freedreno/ir3/meson.build
src/freedreno/ir3/tests/disasm.c