[Libre-soc-bugs] [Bug 236] Atomics Standard writeup needed

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Jun 26 09:40:15 BST 2022


https://bugs.libre-soc.org/show_bug.cgi?id=236

--- Comment #7 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Jacob Lifshay from comment #5)
> (In reply to Luke Kenneth Casson Leighton from comment #3)
> > these look to me like they're ok:
> > https://www.cl.cam.ac.uk/~pes20/cpp/cpp0xmappings.html
> 
> that's the bare minimum for c++11 to operate correctly...it doesn't cover
> most of the ops we want to be efficient.

bleh. ok.

> imho we should also introduce fused atomic/fence ops, where the atomic
> instruction is also a memory fence, like risc-v and armv8 and x86_64, this
> would reduce the number of needed instructions for an acq_rel atomic add to
> 1, rather than the 5-7 with a 4-instruction loop we currently have.

ok, brilliant, can you create a page and design them?  keep it simple
and straightforward, bear in mind i can help in a limited way as i
don't fully grasp these instructions, and they need some serious
justification to put to the ISA WG.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list