[PATCH] Fix implementation for Thumb ADR instruction

Mihail Popa mihail.popa at arm.com
Wed Jun 26 08:59:03 PDT 2013


Hi. Please review the attached patch.

It corrects the implementation of Thumb ADR instruction. There are three 
issues:
1. it should accept only 4-byte aligned addresses
2. the maximum offset should be 1020
3. it should be encoded with the offset scaled by two bits

Regards,
Mihai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130626/17d316d0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LLVM-788.tadr.patch
Type: text/x-patch
Size: 8229 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130626/17d316d0/attachment.bin>


More information about the llvm-commits mailing list