News for hackers. Stuff that matters.
Re:Ask HN: Does anyone care about OpenPOWER? by brucehoult on Thursday February 15, 2024 @10:13PM (#39392744)
You have to be doing pretty strange things with threads, without using mutexes or atomic instructions, to have a problem with this.

RISC-V has a standardised (optional) TSO memory model mode, plus "fence.tso" instruction that works in normal mode, even on CPUs that predate it (it defaults to the stronger "fence rw,rw" in that case). Well, assuming the CPU core designer read the spec carefully and doesn't trap on unknown "fence" instructions (looking at you, THead...)

There are no comments on this comment yet.