pan/va: Add ISA.xml parser and support code
authorAlyssa Rosenzweig <alyssa@collabora.com>
Fri, 16 Jul 2021 14:49:35 +0000 (10:49 -0400)
committerMarge Bot <eric+marge@anholt.net>
Tue, 27 Jul 2021 20:20:32 +0000 (20:20 +0000)
commit02e378b628f8f76e5688f134569d333ebd9180dd
tree0345cdb9b769574c640da472ba827e5fc0e744f7
parent316486dd9f6bbd03e7e13655674f1fa91e533b9a
pan/va: Add ISA.xml parser and support code

This Python module parses the ISA.xml file added in the previous
commits, extracts all the useful information, and combines it with
extra annotations. In total, it provides a programmatic way to interface
with the Valhall instruction set.

   from valhall import instructions, enums

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12025>
src/panfrost/bifrost/valhall/valhall.py [new file with mode: 0644]