On 3/11/26 14:05, Richard Biener wrote:
Is there any information that I could find that could help us find a consensus
one way or the other?

May I suggest you do arm specific builtins which you should be able to
wire into libstdc++.  As for C __atomic_fetch_add there should at least
be a proposal to the C standards committee with regard to such feature.

You cannot be targeting existing code which means you are essentially
proposing language extensions here.

Richard.


Thanks, that seems like one way to progress -- what are others thoughts on this? (Wilco? Joseph?)


FWIW clang have implemented floating point fetch_add/fetch_sub for a while, and they are not handling the floating point environment fully. IIUC LLVM cares less about floating point exceptions, so I guess that shouldn't have much of an impact on us.

Reply via email to