This is the mail archive of the binutils@sources.redhat.com 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: PowerPC gas -many


On Tue, Sep 02, 2003 at 10:07:19AM -0500, Kumar Gala wrote:
> I understand all this.  I guess my question is as a developer trying 
> what is the rule of thumb with regards to -many?

OK, that has changed.  The results are the same as for plain "as" if you
use mnemonics that plain "as" understands.  Extra mnemonics allowed by
"-many" are chosen according to their ordering in powerpc_opcodes.

> For example, which mftb should work with just 'as -many', the classic 
> or book-e form?

*-aix*-as doesn't understand the classic form without -many, so you'd
get the booke form.  Other powerpc*-*-as understand the classic form
without -many so that's what you get.  Previously, -many wouldn't
accept mftb at all.

Hmm, I see your point.  Some re-ordering of the opcode table would be
a good idea, so that -many is a little more consistent.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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