]> git.proxmox.com Git - mirror_qemu.git/commit
decodetree: Initial support for variable-length ISAs
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 31 Jan 2019 02:01:29 +0000 (18:01 -0800)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 6 May 2019 18:18:34 +0000 (11:18 -0700)
commit17560e9349ff1fcce814184b37993f92378cf0c4
treee2bc0f40fe15dba56da177abb85e45c533945e68
parenta6ae23831b05a11880b40f7d58e332c45a6b04f7
decodetree: Initial support for variable-length ISAs

Assuming that the ISA clearly describes how to determine
the length of the instruction, and the ISA has a reasonable
maximum instruction length, the input to the decoder can be
right-justified in an appropriate insn word.

This is not 100% convenient, as out-of-line %fields are
numbered relative to the maximum instruction length, but
this appears to still be usable.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
scripts/decodetree.py