tech-kern archive

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

Re: membar_enter semantics



> On Feb 11, 2022, at 5:33 AM, Taylor R Campbell <riastradh%NetBSD.org@localhost> wrote:
> 
> The following definitions provide load-before-load/store:
> 
> aarch64: alias for membar_sync
> alpha: alias for membar_sync
> arm: alias for membar_sync

Actually, on Alpha[*], an alias to membar_sync is really providing “load/store-before-load/store”.  That’s supposed to be what membar_sync() is defined as everywhere.

[*] MB is “load/store-before-load/store” and WMB is “store-before-store”.

-- thorpej



Home | Main Index | Thread Index | Old Index