]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Add stubs for AArch32 VFP decodetree
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 11 Jun 2019 15:39:41 +0000 (16:39 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 13 Jun 2019 14:14:03 +0000 (15:14 +0100)
commit78e138bc1f672c145ef6ace74617db00eebaa2ba
tree4b567687eb43e22de3c418d78b5e4a4ee2c68a34
parent2c7d442743854d2c1f5475446e088bd523f4bb20
target/arm: Add stubs for AArch32 VFP decodetree

Add the infrastructure for building and invoking a decodetree decoder
for the AArch32 VFP encodings.  At the moment the new decoder covers
nothing, so we always fall back to the existing hand-written decode.

We need to have one decoder for the unconditional insns and one for
the conditional insns, as otherwise the patterns for conditional
insns would incorrectly match against the unconditional ones too.

Since translate.c is over 14,000 lines long and we're going to be
touching pretty much every line of the VFP code as part of the
decodetree conversion, we create a new translate-vfp.inc.c to hold
the code which deals with VFP in the new scheme.  It should be
possible to convert this into a standalone translation unit
eventually, but the conversion process will be much simpler if we
simply #include it midway through translate.c to start with.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
target/arm/Makefile.objs
target/arm/translate-vfp.inc.c [new file with mode: 0644]
target/arm/translate.c
target/arm/vfp-uncond.decode [new file with mode: 0644]
target/arm/vfp.decode [new file with mode: 0644]