target/arm: Remove duplicate 'plus1' function from Neon and SVE decode
commit8fe612a183dec4c63afdc57537079bc742d024ca
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 15 Jul 2021 09:53:41 +0000 (15 10:53 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Sun, 18 Jul 2021 09:59:47 +0000 (18 10:59 +0100)
treee67b50f02591b71681d33d2c5ba6964a29776458
parentc90df7ce4ef50f9cea3c42daea4fc167bb0d9d2e
target/arm: Remove duplicate 'plus1' function from Neon and SVE decode

The Neon and SVE decoders use private 'plus1' functions to implement
"add one" for the !function decoder syntax.  We have a generic
"plus_1" function in translate.h, so use that instead.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20210715095341.701-1-peter.maydell@linaro.org
target/arm/neon-ls.decode
target/arm/neon-shared.decode
target/arm/sve.decode
target/arm/translate-neon.c
target/arm/translate-sve.c