On 10/11/25 16:09, Chris M. Thomasson wrote:
On 10/11/2025 12:15 PM, Bonita Montero wrote:
Am 10.10.2025 um 09:08 schrieb Chris M. Thomasson:
Well, is it std anymore? WTF! I don't want to have to use a damn
acquire when I don't need to.
x86 doesn't have consume memory ordering so this maps to acuqire
ordering.
Right, its implied on that arch. x86 has data dependent ordering. But I
want to keep consume. For instance, it better not emit a damn acquire barrier on SPARC in RMO mode! Shit man.
I was under the impression it was a data dependent load which isn't
actually part of any memory models per se. For x86 it was documented
in an appendix section, not the memory model section.
I've used control dependency orderings but there's no memory barrier
intrinsic for that. You get it from program control logic with
maybe some compiler barriers if needed.
Joe Seigh
--- PyGate Linux v1.5
* Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)