[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gcc (Re: porting?)
- To: MiNT mailing list <mint@atari.archive.umich.edu>
- Subject: Re: gcc (Re: porting?)
- From: hyc@troy.la.platsol.com (Howard Chu)
- Date: Tue, 10 Feb 98 08:07:24 -0800
- In-reply-to: (Your message of Tue, 10 Feb 98 13:56:20 N.) <Pine.MNT.3.96-MiNT.980210135140.126C-100000@bluto>
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
*/