[LLVMdev] ARM backend problem ?
Dale Johannesen
dalej at apple.com
Tue Jun 12 09:41:34 PDT 2007
On Jun 12, 2007, at 4:55 AM, Peltier, Mikael wrote:
I use LLVM 2.0 with the following command lines:
> llvm-as -f –o test.bc test.ll
>
> llc –march=arm –mcpu=arm1136j-s –mattr=+v6 –f –o test.s test.bc
>
> arm-linux-gnu-as –mcpu=arm1136j-s test.s
>
> With the last command, I obtain the following error:
> rd and rm should be different in mul
>
> The bad instruction is “mul r3, r3, r2” that follows the syntax
> “mul rd, rm, rs”.
>
> I want to know where is my mistake or if it is a bug in register
> allocator ?
This instruction is valid on 1136j-s and other ARMv6 implementations.
Since you have told the assembler that's what you have, it should
not warn; this is an assembler bug. It is safe to ignore the message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070612/699c4f96/attachment.html>
More information about the llvm-dev
mailing list