[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc (Re: porting?)



  On Tue, 10 Feb 1998, Jan Paul Schmidt wrote:

  > > What about -mpcrel?  Doesn't it do (about) the same thing?
  > > 
  > > I usually use '-mbaserel -mpcrel -fomit-frame-pointer -O2' as
  > > it produces the smallest code (GCCs <= 2.5.8).
  > 
  > I use that to on 2.7.2.3, but it won't work always with larger stuff.

  Just curious, is it possible to produce PC-relative code with long
  branches on the 020->? And is it faster than absolute addressing?

Yes, it's possible on 020+. Is it faster? I don't remember. I doubt it,
since it requires the same memory accesses as 4-byte absolute.

  /*
  ** Jo Even Skarstein    http://www.stud.ntnu.no/~josk/
  **
  **    beer - maria mckee - atari falcon - babylon 5
  */