This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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] |
On 11/11/2012 07:59 PM, Xin Tong wrote:Many ports look at at -Os and change their instruction selections, alignment requests, etc.No. GCC does all optimizations *except* those known to increase program size. This usually works pretty well, but isn't perfect.
so as to how the instructions are selected. compiling for code size does not have an effect ?
Please don't top-post on this list.
Any target could, in principle, select instructions based on size and -OS, but I don't know any that do.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |