This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: m68k compiler does not build


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? I never used -fpic
  myself. m68k-amigaos has its own data-only pic mode (function calls are
  unaffected).

  Gunther


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]