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 Ben! That's a good explanation. I will have a try.


regards,
George

----- Original Message ----
From: Ben Elliston <bje@au1.ibm.com>
To: Lin George <george4academic@yahoo.com>
Cc: Ian Lance Taylor <iant@google.com>; binutils@sourceware.org
Sent: Thursday, December 21, 2006 7:20:43 AM
Subject: 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

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com


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