[llvm-commits] [PATCH] ARM JIT: Add support to MOVimm32 using movt/movw for JIT

Rafael Espindola espindola at google.com
Thu May 20 15:04:20 PDT 2010


On 18 May 2010 15:19, Zonr Chang <zonr.xchg at gmail.com> wrote:
> The attached patch enables LLVM to materialize of movt/movw instructions
> in ARM JIT. These allow you loading 32-bit immediate and addresses using 2
> instructions instead of from the constant pool. This patch should resolve
> the Bug #6265 (http://llvm.org/bugs/show_bug.cgi?id=6265).

I had a quick look at the patch and it looks fine. Some time ago I
tried to implement this, but wanted to reused the movw and movt logic.
Unfortunately creating new machine instructions at this stage is not
very convenient.

I think the patch is fine. It might also fix PR7048. I am trying it
right now, but it takes some time to build llvm on a beagleboard :-)

> Zonr
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
>

Thanks,
-- 
Rafael Ávila de Espíndola




More information about the llvm-commits mailing list