[llvm-commits] [PATCH] unpredictable instructions with pc register operand on ARM
Silviu Baranga
silbar01 at arm.com
Wed Mar 14 07:01:24 PDT 2012
Hi,
A lot of ARM instructions are unpredictable if they have the pc
register as an operand. So far this will cause a fail in the
disassemble, rather than a soft fail.
This patch fixes this problem by making the decoder function for
GPRnopc operands return SoftFail when it tries to decode a pc
register operand. It also modifies the register-shifted register
conditional AND instruction by changing the Rd and Rs operand
types from GPR to GPRnopc, in order to make the behaviour
of the AND instruction undefined when Rd and Rn are pc register
operands.
Please review.
Thanks,
Silviu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120314/03ac2f07/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unpredictable-ANDcond.diff
Type: application/octet-stream
Size: 10414 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120314/03ac2f07/attachment.obj>
More information about the llvm-commits
mailing list