Hi Alan,Is there some pdf doc that describes all of the abi details (sort like the old Sun/Motorola SysV abi for PPC) or even a summary that describes how the linux ppc32 (almost sysv abi) and the linux ppc64 abi differ. Also, something that describes any synchronization (sync, isync, vs ...) differences and cache line size differences would be nice too.
The C++ to uno bridge code in OOo will require updating if there is ever going to be a native Linux PPC64 version of OOo (people are already working on x86_64, Alpha, Sparc 64, etc).
Any helpful links appreciated. Thanks, Kevin On Nov 17, 2003, at 8:06 AM, Alan Modra wrote:
On Mon, Nov 17, 2003 at 11:42:34AM +0100, Gabriel Paubert wrote:What does it do about floating point constants?Puts them in the TOC, then accesses with, eg. lfd f1,some_offset(r2)Recent versions of GCC have an annoying bug which makes many (but not all) floating-point constant load take 3 instructions in 32 bit mode (never tried 64 bit, no hardware): li rx,.LCn@h@ la ry,.LCn@l(rx) lfd frz,0(ry)Hmm, that does seem a bit poor.Function descriptors instead of single pointer to the first instruction I believe. I'm not sure that it's that bad either.Yes, ppc64 function pointers are pointers to a function descriptor. -- Alan Modra IBM OzLabs - Linux Technology Centre
---- Kevin B. Hendricks Associate Professor of Operations and Information Technology Richard Ivey School of Business, University of Western Ontario London Ontario, CANADA N6A 3K7 khendricks@ivey.uwo.ca