decodetree: Add support for 64-bit instructions
authorLuis Fernando Fujita Pires <luis.pires@eldorado.org.br>
Wed, 7 Apr 2021 22:18:49 +0000 (22:18 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Sat, 1 May 2021 18:45:19 +0000 (11:45 -0700)
commit60c425f328957caaa46da895086cc0ea46865d3d
tree611a08f231a2847aa268a6ae8cf8f4c867b6dd00
parent9f6e2b4d34363c066a0cee1a1df3ec7a0c9f3255
decodetree: Add support for 64-bit instructions

Allow '64' to be specified for the instruction width command line params
and use the appropriate extract and deposit functions in that case.

This will be used to implement the new 64-bit Power ISA 3.1 instructions.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Luis Pires <luis.pires@eldorado.org.br>
Message-Id: <CP2PR80MB3668E123E2EFDB0ACD3A46F1DA759@CP2PR80MB3668.lamprd80.prod.outlook.com>
[rth: Drop the change to the field type; use bitop_width instead of separate
variables for extract/deposit; use "ull" for 64-bit constants.]
Reviewed-by: Luis Pires <luis.pires@eldorado.org.br>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
scripts/decodetree.py