[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] target/arm: Remove duplicate 'plus1' function from Neon and
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH] target/arm: Remove duplicate 'plus1' function from Neon and SVE decode |
Date: |
Thu, 15 Jul 2021 20:23:07 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 7/15/21 11:53 AM, Peter Maydell wrote:
> 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>
> ---
> target/arm/neon-ls.decode | 4 ++--
> target/arm/neon-shared.decode | 2 +-
> target/arm/sve.decode | 2 +-
> target/arm/translate-neon.c | 5 -----
> target/arm/translate-sve.c | 5 -----
> 5 files changed, 4 insertions(+), 14 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>