News for hackers. Stuff that matters.
Re:You Can Do Any Kind of Atomic Read-Modify-Write Operation by vardump on Thursday October 08, 2015 @01:15PM (#10354188)
That's interesting. Any references about this? What about ARM CPUs?
Re:You Can Do Any Kind of Atomic Read-Modify-Write Operation by exDM69 on Thursday October 08, 2015 @01:27PM (#10354306)
See Intel Programmer's manual (vol 3a iirc) about pause, monitor and mwait. Not sure about ARM, that architecture has different rules of cache coherence and no hyperthreading and you need to add explicit memory barriers.