binutils Newspaper
NOVEMBER 30, 2026
aarch64 — Proposed

aarch64: Support partial splits in the decode tree

Adds support for partial splits in the AArch64 instruction decode tree generation.

This patch introduces support for partial splits in the AArch64 instruction decode tree generation. It allows the decode tree to split off a subset of opcodes and then chain the remainder, which is useful for instructions that cannot be fully partitioned by a single bit. The feature is temporarily disabled in this patch to ensure existing functionality remains unchanged. Future work will enable it for aliases.

In Details

Modifies opcodes/aarch64-gen.c to introduce the concept of partial splits in the AArch64 instruction decode tree generation. This allows the tree construction algorithm to handle cases where a group of opcodes cannot be fully distinguished by a single bit. Instead, it can split off a subset of opcodes and continue processing the rest, enabling a more optimized decode tree. The change is a prerequisite for future optimizations.

Filed Under: aarch64disassemblerdecode treecode generation