diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2021-07-15 10:53:41 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2021-07-18 10:59:47 +0100 |
commit | 8fe612a183dec4c63afdc57537079bc742d024ca (patch) | |
tree | e67b50f02591b71681d33d2c5ba6964a29776458 /target/arm/sve.decode | |
parent | c90df7ce4ef50f9cea3c42daea4fc167bb0d9d2e (diff) | |
download | qemu-8fe612a183dec4c63afdc57537079bc742d024ca.zip qemu-8fe612a183dec4c63afdc57537079bc742d024ca.tar.gz qemu-8fe612a183dec4c63afdc57537079bc742d024ca.tar.bz2 |
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/sve.decode')
-rw-r--r-- | target/arm/sve.decode | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/arm/sve.decode b/target/arm/sve.decode index a62c169..c60b9f0 100644 --- a/target/arm/sve.decode +++ b/target/arm/sve.decode @@ -22,7 +22,7 @@ ########################################################################### # Named fields. These are primarily for disjoint fields. -%imm4_16_p1 16:4 !function=plus1 +%imm4_16_p1 16:4 !function=plus_1 %imm6_22_5 22:1 5:5 %imm7_22_16 22:2 16:5 %imm8_16_10 16:5 10:3 |