qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v2] target-mips: generate fences


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH v2] target-mips: generate fences
Date: Mon, 12 Sep 2016 10:02:36 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

On 09/09/2016 01:49 AM, Leon Alrae wrote:
Actually the lightweight variants of SYNC exist also in earlier revisions of
MIPS architecture; therefore this can be tested for example on mips32r2.

According to manuals the support is optional, and if given CPU doesn't
implement lightweight SYNCs (i.e. with stype != 0) then they are supposed
to behave in the same way as SYNC 0. (which also means I simplified that here
and always interpret the stype to take advantage of weaker ordering barriers).

Noted. I've adjusted the patch in the tcg-next tree to always generate the weaker forms of sync.


r~



reply via email to

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