Re: CFP (Call for Participation) Debian PPC64
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
Reply to: