This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: to reduce footprint


> Thanks Ian. After reading the manual for -Os, it seems that using -Os
> can both achieve the better performance and reduce the footprint. Is
> that correct?

Sometimes, yes.  On some machines, there is a good performance gain if
you can reduce code size such that more of the frequently executed code
is retained in the instruction cache.

Ben



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]