qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] tcg/mips: mips sync* encode error


From: Aleksandar Markovic
Subject: Re: [PATCH] tcg/mips: mips sync* encode error
Date: Sat, 11 Apr 2020 20:37:23 +0200

20:08 Sub, 11.04.2020. Richard Henderson <address@hidden> је написао/ла:
>
> On 4/11/20 5:46 AM, lixinyu wrote:
> > OPC_SYNC_WMB, OPC_SYNC_MB, OPC_SYNC_ACQUIRE, OPC_SYNC_RELEASE and
> > OPC_SYNC_RMB have wrong encode. According to the mips manual,
> > their encode should be 'OPC_SYNC | 0x?? << 6' rather than
> > 'OPC_SYNC | 0x?? << 5'. Wrong encode can lead illegal instruction
> > errors. These instructions often appear with multi-threaded
> > simulation.
>
> Good catch.
>
> Reviewed-by: Richard Henderson <address@hidden>
>
> Queued to tcg-for-5.0.
>

Reviewed-by: Aleksandar Markovic <address@hidden>

Thanks to Lixinyu, in the first place, for reporting the problem, and also thanks to Richard for reviewing and incorporating this patch into his queue for 5.0. I also think, as Richard does, that this should go into 5.0, even in this final stages.

Happy Easter, or hapy and sunny weekend, whatever you choose.

Aleksandar

>
> r~
>


reply via email to

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