Call for compiler help/advice: atomic builtins for v3
Paolo Carlini
pcarlini@suse.de
Mon Nov 7 11:19:00 GMT 2005
Richard Guenther wrote:
>That works, if only code playing well (or failing with SIGILL) with
>either locking scheme is ever inlined. I.e. for x86 you cannot inline
>the i386 variant.
>
Indeed, we are in perfect agreement now. The point is exactly that: the
i386 version cannot be inlined, can only be out of line inside libgcc,
in this theoretical scheme.
Really, I think it can pretty much robust.
> If such
>simple rule is possible on other architectures affected is beyond my knowledge.
>And of course currently libgcc is not clever enough in the sense of Uli.
>
Eh ;)
Paolo.
More information about the Libstdc++
mailing list