• memory_order_consume...

    From Chris M. Thomasson@3:633/10 to All on Fri Oct 10 00:08:07 2025
    Well, is it std anymore? WTF! I don't want to have to use a damn acquire
    when I don't need to.

    --- PyGate Linux v1.0
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Bonita Montero@3:633/10 to All on Sat Oct 11 21:15:35 2025
    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.

    --- PyGate Linux v1.0
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From Chris M. Thomasson@3:633/10 to All on Sat Oct 11 13:09:52 2025
    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.

    --- PyGate Linux v1.0
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)
  • From jseigh@3:633/10 to All on Sat Oct 18 20:48:06 2025
    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)