[PATCH] Fix encoding of constant in ARM "adr rN, #Const" instruction

Keith Walker keith.walker at arm.com
Thu Feb 21 01:20:53 PST 2013


This patch fixes the encoding of the constant value in ARM "adr rN, #Const"
instruction which currently asserts on some "Const" values that can be
validly encoded in the instruction.

An example of an instruction that can be validly encoded in an adr
instruction but is currently be rejected is:
   adr  r1, #0x80000001

Please review this patch and provide any feedback.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: adr_immed12.diff
Type: application/octet-stream
Size: 1833 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130221/2fad9fe7/attachment.obj>


More information about the llvm-commits mailing list