summary refs log tree commit diff stats
path: root/target/arm/translate-neon.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2021-07-15 10:53:41 +0100
committerPeter Maydell <peter.maydell@linaro.org>2021-07-18 10:59:47 +0100
commit8fe612a183dec4c63afdc57537079bc742d024ca (patch)
treee67b50f02591b71681d33d2c5ba6964a29776458 /target/arm/translate-neon.c
parentc90df7ce4ef50f9cea3c42daea4fc167bb0d9d2e (diff)
downloadfocaccia-qemu-8fe612a183dec4c63afdc57537079bc742d024ca.tar.gz
focaccia-qemu-8fe612a183dec4c63afdc57537079bc742d024ca.zip
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
Diffstat (limited to 'target/arm/translate-neon.c')
-rw-r--r--target/arm/translate-neon.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/target/arm/translate-neon.c b/target/arm/translate-neon.c
index a45616cb63..c53ab20fa4 100644
--- a/target/arm/translate-neon.c
+++ b/target/arm/translate-neon.c
@@ -28,11 +28,6 @@
 #include "translate.h"
 #include "translate-a32.h"
 
-static inline int plus1(DisasContext *s, int x)
-{
-    return x + 1;
-}
-
 static inline int neon_3same_fp_size(DisasContext *s, int x)
 {
     /* Convert 0==fp32, 1==fp16 into a MO_* value */