[llvm-commits] Fix an encoding issue with ARM PKH* instructions for non-MC path

Stephen Hines srhines at google.com
Tue May 3 18:24:04 PDT 2011


Hi,

I am sending this patch because I found that the non-MC ARM path was
incorrectly encoding ARM PKH* instructions. They would essentially be
encoded twice, where the second encoding would unwrap the shift amount in a
way that register fields could be clobbered (by the shift amount/encoding).
I do not have commit privileges, so I would appreciate it if someone could
submit this for me. All current tests pass with this change, since I am
using the non-MC path.

Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110503/83aaf4db/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pkh.patch
Type: text/x-patch
Size: 544 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110503/83aaf4db/attachment.bin>


More information about the llvm-commits mailing list