[LLVMdev] Disassembly broken?
garious at gmail.com
Thu Dec 27 17:17:53 PST 2012
Yep, b.w using ARM's "alternative syntax" is broken. Luckily, though LLVM
bitcode doesn't compile to this form, and will always use a label instead.
Here's a patch that only acknowledges the broken instructions:
I submitted this to llvm-commits a while back, but nobody replied. :(
On Thu, Dec 27, 2012 at 4:20 PM, Vladimir Pouzanov <farcaller at gmail.com>wrote:
> Hi all.
> I came across a strange behaviour in the instruction printer for Thumbv2:
> The instruction is 0xf000b800, which is a b.w #0
> LLVM returns it as b.w #-262144, which doesn't make any sense to me.
> Should I consider it a bug?
> Vladimir Pouzanov
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev