powerpc64 libstdc++

Alan Modra amodra@bigpond.net.au
Sun Jul 28 05:40:00 GMT 2002


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



More information about the Gcc-patches mailing list