Module: Mesa
Branch: main
Commit: fa0ff0849c5d96534195d276658aa8211d115076
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=fa0ff0849c5d96534195d276658aa8211d115076

Author: Christian Gmeiner <cgmei...@igalia.com>
Date:   Mon Jul 26 06:37:25 2021 +0200

etnaviv: Add isaspec support

This commit adds etnaviv.xml which describes the used ISA. Quite some
time was spend to to get it into that shape by creating a big collection
of shader asm generated by the binary blob. These shaders are used as basis
for test driven development for this ISA specification.

The xml has some black spots but the internal disasm is used by
developers so that should be no problem. Some refinement will happen
during normal development.

This commit adds only disasm support.

Signed-off-by: Christian Gmeiner <cgmei...@igalia.com>
Reviewed-by: Rob Clark <robdcl...@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20144>

---

 .clang-format-include             |    1 +
 .gitlab-ci/test-source-dep.yml    |    1 +
 src/etnaviv/ci/gitlab-ci.yml      |    1 +
 src/etnaviv/isa/.clang-format     |    7 +
 src/etnaviv/isa/disasm.c          |   33 +
 src/etnaviv/isa/etnaviv.xml       | 1246 +++++++++++++++++++++++++++++++++++++
 src/etnaviv/isa/isa.h             |   11 +
 src/etnaviv/isa/meson.build       |   48 ++
 src/etnaviv/isa/tests/disasm.cpp  |  311 +++++++++
 src/etnaviv/isa/tests/meson.build |   14 +
 src/etnaviv/meson.build           |    1 +
 11 files changed, 1674 insertions(+)

Diff:   
http://cgit.freedesktop.org/mesa/mesa/diff/?id=fa0ff0849c5d96534195d276658aa8211d115076

Reply via email to