[LLVMdev] ARM thumb-2 instruction used for non-thumb2 CPUs

Jim Grosbach grosbach at apple.com
Wed Jun 22 08:29:40 PDT 2011


On Jun 22, 2011, at 7:22 AM, Renato Golin wrote:

> On 22 June 2011 14:33, Damjan Marion <damjan.marion at gmail.com> wrote:
>> Problem is that in case when old binutils are used (in my case freebsd is using old one due to license upgrade to GPLv3) AS doesn't understand new mnemonics and fails.
> 
> Indeed, this is new in ARM ARM v7.
> 
> 
>> Can we change to old mnemonic at least when ARMv4 and ARMv5 code is generated?
> 
> We definitely should. Feel free to send a patch if you already have,
> or create a bug in bugzilla. Shouldn't be too hard to add it.

LLVM always uses unified syntax, including updated mnemonics for older instructions. Older binutils aren't supported. This is unlikely to change.

-Jim



More information about the llvm-dev mailing list