Commit graph

2 commits

Author SHA1 Message Date
Ronald Caesar
e714dc47d0
jit/decoder: rename decoder script
Renames generate_decoder_tests.py to generate_jit_decoder_tests.py.

Signed-off-by: Ronald Caesar <github43132@proton.me>
2025-12-06 00:16:18 -04:00
Ronald Caesar
d1e3919a8c
jit/decoder: Add generated arm32 tests
Introduces the first unit tests for the ARM32 JIT decoder. A new script
automatically generates a test case for every instruction in arm32.inc,
providing 100% of the isa.

This also includes a critical rework of the decoder's lookup table
generation logic. The previous hashing method was flawed, causing
build-time overflows and incorrect instruction matching (shadowing) for
patterns with wildcards. The new algorithm correctly populates the
lookup table.

Signed-off-by: Ronald Caesar <github43132@proton.me>
2025-11-30 06:14:03 -04:00