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

Re: gcc and -fPIC



On Thu, 21 Mar 2002, Steve M. Robbins wrote:

> > On most architectures, it doesn't really matter except for heavy
> > mathematics and 3D. The only exception is i386, where the performance
> > decrease is actually measurable.

> Do you really mean "i386", or do you mean "ix86"?
> Is there a performance hit with -fPIC on Pentium II/III/IV ?

Yes, since there are no new registers (you need one register for PIC
addressing).

   Simon

-- 
GPG public key available from http://phobos.fs.tum.de/pgp/Simon.Richter.asc
 Fingerprint: 040E B5F7 84F1 4FBC CEAD  ADC6 18A0 CC8D 5706 A4B4
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!



Reply to: