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