target/arm: Factor out unallocated_encoding for aarch32
commit1ce21ba1eaf08b22da5925f3e37fc0b4322da858
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 26 Aug 2019 15:15:36 +0000 (26 08:15 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 3 Sep 2019 15:20:34 +0000 (3 16:20 +0100)
treef236fffdcd37bf1be77e2bd4f62c4e80a3692f74
parent429a71d67ec04177df614be909e9300a6bbd6830
target/arm: Factor out unallocated_encoding for aarch32

Make this a static function private to translate.c.
Thus we can use the same idiom between aarch64 and aarch32
without actually sharing function implementations.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Message-id: 20190826151536.6771-3-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate-vfp.inc.c
target/arm/translate.c