This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: powerpc64 libstdc++
On Sat, Jul 27, 2002 at 08:20:30PM -0400, David Edelsohn wrote:
> >>>>> Alan Modra writes:
>
> Alan> I should have mentioned that I checked current glibc sources too. It's
> Alan> wrong to leave these functions in without some changes as they operate
> Alan> on "long", yet use "lwarx" and "stwcx.".
>
> Okay, remove the other functions.
>
> Somehow I think this would be nicer with _LOAD_LINKED and
> _STORE_CONDITONAL macros substituted in the inlined assembly and
> conditionally set to the appropriate PowerPC instruction.
http://www.gnu.org/prep/standards_11.html#SEC11 prefers "if ()" over
"#ifdef".
--
Alan Modra
IBM OzLabs - Linux Technology Centre