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: [RFA] PowerPC VLE port - opcodes update


On Fri, Aug 31, 2012 at 11:52:53AM +0100, Maciej W. Rozycki wrote:
>  The logic to interpret the PPCVLE 
> (PPC_OPCODE_VLE) flag should IMHO be changed such that in the VLE mode 
> (-mvle) it does not enable any instruction such marked unconditionally.

Agreed.

>  So for example EVADDW would only be enabled whevener -mvle and -mspe are 
> used both at the same time, likewise VADDUBS would only work with -mvle 
> and -maltivec and with a lone -mvle neither of these instructions would be 
> enabled.  The disassembler would work accordingly -- choosing the right 
> instruction to dump based on the architecture selected or inferred from 
> ELF object flags and the VLE section attribute.

Yes, and of course you can use other -m<cpu>/-M<cpu> options to select
the underlying flags.

-- 
Alan Modra
Australia Development Lab, IBM


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