[RFA] PowerPC VLE port - opcodes update
Alan Modra
amodra@gmail.com
Sun Sep 2 04:37:00 GMT 2012
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
More information about the Binutils
mailing list