Re: Reduce fpic related slowdowns

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

 



Ian Lance Taylor wrote:
> There is always a penalty for using -fPIC, because the code must be
> position independent.  The usual penalty I've measured is more like 2
> to 3%.  A 5% penalty seems a trifle high, but certainly possible if
> your code uses a lot of global variables.
> 
> It sounds like you have specific examples where the code is worse.  If
> you post them we may be able to tell you whether it is possible to do
> better.
It can be found at http://bitbucket.org/richard42/mupen64plus-core/ but isn't 
yet production ready due to the architectural changes.
-- 
Robert Wohlrab

[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