[PATCH] Correct syntax of ARM mrc, mrc2 when writing to APSR
Mihail Popa
mihail.popa at arm.com
Mon May 13 05:40:04 PDT 2013
Hello. Please review the attached patch.
The purpose of the patch is to fix the syntax of ARM mrc and mrc2
instructions when they are used to write to the APSR. In this case, the
destination operand should be APSR_nzcv, and the encoding of the target
should be 0b1111 (same as for PC). In pre-UAL syntax, this form used the
PC register as a textual target. This is still allowed for backward
compatibility.
Thanks,
Mihai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130513/5d2d4765/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LLVM-732.mrc.patch
Type: text/x-patch
Size: 6434 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130513/5d2d4765/attachment.bin>
More information about the llvm-commits
mailing list