← Back to context

Comment by loeg

15 hours ago

Real architectures you'd run more than a single thread on? Such as?

Quad core ARMv8-A, e.g., Nintendo Switch.

  • ARMv8-A has atomic CAS, unless this is some silly definition thing where it's "a system that has the behavior of atomic CAS but is named something else."

    • Maybe that's the trap I'm falling into? From memory it doesn't have any actually atomic operations, only an ll/sc sort of mechanism - which I've never really thought of as an atomic operation?

      Though it's true you can end up with the same end result, in that you can just keep trying the operation until you accidentally do a read-modify-write that's ended up - well, "atomic" is a valid way to describe it.

      So maybe it is good enough to count, though personally I'm still not quite convinced.