qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH] target/arm: Fix int128_make128 lo, hi order


From: Peter Maydell
Subject: Re: [Qemu-devel] [RFC PATCH] target/arm: Fix int128_make128 lo, hi order in paired_cmpxchg64_be
Date: Mon, 11 Feb 2019 16:19:20 +0000

On Mon, 11 Feb 2019 at 16:11, Richard Henderson
<address@hidden> wrote:
>
> On 1/31/19 5:40 PM, Catherine Ho wrote:
> > The lo,hi order is different from the comments. And in commit
> > 1ec182c33379 ("target/arm: Convert to HAVE_CMPXCHG128"), it changes
> > the original code logic. So just restore the old code logic before this
> > commit:
> > do_paired_cmpxchg64_be():
> >     cmpv = int128_make128(env->exclusive_high, env->exclusive_val);
> >     newv = int128_make128(new_hi, new_lo);
> >
> > Fixes: 1ec182c33379 ("target/arm: Convert to HAVE_CMPXCHG128")
> >
> > Signed-off-by: Catherine Ho <address@hidden>
> > ---
>
>
> Reviewed-by: Richard Henderson <address@hidden>

Thanks. Richard: is this effectively a bugfix for big-endian guest code ?

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]