Re: effect of -fPIC on code speed

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

 



On 09/16/2010 03:25 PM, Miles Bader wrote:
> Andrew Haley <aph@xxxxxxxxxx> writes:
>> I don't think it will do much harm, but I don't think it will do much
>> good either.  There will be some size increase with PIC, and that will
>> inevitably cause some slowdown.  Some processors are better than others:
>> 32-bit x86 isn't so good with PIC.
> 
> Hmm, I wonder why my objs seemed to mostly get smaller...

Hard to say.  I'd have to look.

> Is PIC on x86-64 notably better than x86?

Yes.

Andrew.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux