decoder: Implement initial A64 instruction decoder

Adds a python script, tools/generate_a64_table.py, to parse ARM's
machine readable XML. The script generates a static C lookup table
containing instruction mnemonics, masks, and values.

Signed-off-by: Ronald Caesar <github43132@proton.me>
This commit is contained in:
Ronald Caesar
2025-12-08 13:13:30 -04:00
parent 26a677f8b4
commit 0fee614994
3 changed files with 2999 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ option(BALLISTIC_ENABLE_BUILD_TESTS "Enables Ballistic tests" OFF)
add_library(Ballistic STATIC
src/decoder.c
src/decoder_table_gen.c
)
target_include_directories(Ballistic PRIVATE src)