m68k compiler does not build

Andreas Schwab schwab@suse.de
Fri May 14 15:53:00 GMT 2004


Gunther Nikl <gni@gecko.de> writes:

> On Fri, May 14, 2004 at 03:32:51PM +0200, Andreas Schwab wrote:
>> Gunther Nikl <gni@gecko.de> writes:
>> 
>> >   A word relative branch takes 4 bytes and its short form 2 bytes.
>> >   Then function CSE is not always beneficial: it eats up a register and
>> >   requires a move if GCC stored the function address in a data register
>> >   since indirect branches have to be done through an address register.
>> >   I wonder if functions-cse is really beneficial for m68k.
>> 
>> Note that function-cse is already disabled for PIC.
>
>   But thats not because of efficiency but correctness?

Right.  Loading the function pointer would defeat lazy linking, though it
would be possible to avoid that.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gcc-patches mailing list