This is the mail archive of the
mailing list for the binutils project.
Re: optimization by as
- From: Virendra Kumar Pathak <kumarvir dot pathak at gmail dot com>
- To: Andrew Bennett <Andrew dot Bennett at imgtec dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Mon, 10 Aug 2015 12:11:53 +0530
- Subject: Re: optimization by as
- Authentication-results: sourceware.org; auth=none
- References: <CAEDvCBS2RdGBwpirseB5Bne1_tOw=68O-5V9Q-S+AmZM7+vWog at mail dot gmail dot com> <0DA23CC379F5F945ACB41CF394B982772110532C at LEMAIL01 dot le dot imgtec dot org>
Thanks for the reply.
What other types of optimization can be handled by the assembler ?
Are they capable of re-ordering the instructions ?
For example inserting other instruction between two loads (on machine
with one load unit) to avoid pipeline stall.
On 6 August 2015 at 19:38, Andrew Bennett <Andrew.Bennett@imgtec.com> wrote:
>> I see -O option for MIPS target in 'man as' but no such option for
>> Please give some insight on what type of optimization does this -O do.
> This optimisation is enabling the filling of branch delay slots, and the
> removal of unneeded nops.
Virendra Kumar Pathak