[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] target/arm: Mark LDS{MIN,MAX} as signed operations
From: |
Peter Maydell |
Subject: |
Re: [PATCH] target/arm: Mark LDS{MIN,MAX} as signed operations |
Date: |
Thu, 3 Jun 2021 10:22:20 +0100 |
On Wed, 2 Jun 2021 at 03:07, Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> The operands to tcg_gen_atomic_fetch_s{min,max}_i64 must
> be signed, so that the inputs are properly extended.
> Zero extend the result afterward, as needed.
>
> Resolves: https://gitlab.com/qemu-project/qemu/-/issues/364
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
> ---
> target/arm/translate-a64.c | 13 ++++++++++---
> 1 file changed, 10 insertions(+), 3 deletions(-)
>
Applied to target-arm.next, thanks.
-- PMM