target/mips: Introduce decode tree bindings for MSA ASE

Introduce the 'msa32' decodetree config for the 32-bit MSA ASE.

We start by decoding:
- the branch instructions,
- all instructions based on the MSA opcode.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20201215225757.764263-20-f4bug@amsat.org>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Tested-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
This commit is contained in:
Philippe Mathieu-Daudé 2020-11-29 22:24:40 +01:00
parent 878b87b541
commit c7a9ef7517
4 changed files with 68 additions and 0 deletions

View file

@ -1,4 +1,9 @@
gen = [
decodetree.process('msa32.decode', extra_args: '--static-decode=decode_msa32'),
]
mips_ss = ss.source_set()
mips_ss.add(gen)
mips_ss.add(files(
'cpu.c',
'gdbstub.c',