target/arm: Create decodetree skeleton for A64
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 12 May 2023 14:40:48 +0000 (15:40 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 18 May 2023 10:16:45 +0000 (11:16 +0100)
commit8058c8316f1081ea6ddedef4db647d327e2e2488
tree4eb86a2b62a508c54e4ae402610b73ea55fc3b3f
parent8ed24ba17abc2a6f072f9631a05d871d9eb7fc7e
target/arm: Create decodetree skeleton for A64

The A64 translator uses a hand-written decoder for everything except
SVE or SME.  It's fairly well structured, but it's becoming obvious
that it's still more painful to add instructions to than the A32
translator, because putting a new instruction into the right place in
a hand-written decoder is much harder than adding new instruction
patterns to a decodetree file.

As the first step in conversion to decodetree, create the skeleton of
the decodetree decoder; where it does not handle instructions we will
fall back to the legacy decoder (which will be for everything at the
moment, since there are no patterns in a64.decode).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230512144106.3608981-3-peter.maydell@linaro.org
target/arm/tcg/a64.decode [new file with mode: 0644]
target/arm/tcg/meson.build
target/arm/tcg/translate-a64.c