News for hackers. Stuff that matters.
Re:Apple Silicon implements tricky x86 behaviors in hardware... by vardump on Thursday July 30, 2020 @12:10PM (#23999810)
Shouldn't ARMv8 LDAR (Load Acquire) and STL (Store Release) instructions be enough to emulate x86 memory model? What did I miss?

Or would that entail more overhead compared to just having TSO memory model?

Re:Apple Silicon implements tricky x86 behaviors in hardware... by saagarjha on Thursday July 30, 2020 @12:16PM (#23999886)
Too slow, probably. Either they'd need to do advanced dataflow analysis to not have them everywhere (slow/complicated) or just insert them everywhere (slow).
Re:Apple Silicon implements tricky x86 behaviors in hardware... by vardump on Saturday August 01, 2020 @02:01PM (#24022550)
I don't see how any kind of dataflow analysis could capture for example accessing thread stack from another thread. Just too many ways to get the pointer.